4.0.3: Fix YAML configuration import
Fixes YAML configuration import.
The integration documented YAML configuration and declared a schema for it, but async_step_import() forwarded to the manual step without passing the data along, so imported devices silently produced no config entry at all. Optional keys such as encryption_key and uid are now filled in with defaults before the connection test runs.
YAML devices are now imported automatically: connectivity is verified first, the entry is created with the configured mode lists, and the unique ID check prevents duplicates on restart.
Thanks to @r0nmlt for the fix.
This release also brings manifest.json back in line with the release line. It still read 3.6.0 while 4.0.1 and 4.0.2 were tagged, so Home Assistant reported a different version than HACS.
What's Changed
- Fix YAML import and handle optional configuration values by @r0nmlt in #461
- Release 4.0.3 by @RobHofmann in #503
New Contributors
Full Changelog: 4.0.2...4.0.3