Skip to content

Config Flow, sockets and rework

Latest

Choose a tag to compare

@peteS-UK peteS-UK released this 17 May 18:04
d2b8c42

In this release, there's a bunch of code quality improvements, particularly around socket handling. The big functional change is a rewrite of the config flow, particularly around Discovery. If you were using Discovery previously, it ran the discovery each time you start, rather than doing the discovery in the config flow and saving the resulting config entry. This version replaces that with discovery in config flow, and then creating a normal config entry. If you have an existing manual config entry, this should be migrated to the new format. The entity_id should remain the same when you do this, so all of your automations etc. should still work fine, but as ever - do a backup first. I've also updated the Ping Watcher, which checks for availability of the processor, marks it unavailable if it goes offline, and restarts the integration if it returns.