* Refactor zwave_js config entry setup
* Fix blocking update test
* Address timeout comment
* Remove platform tasks
* Replace deprecated async_add_job
* Use ConfigEntry.async_on_state_change
* Use modern config entry methods
* Clarify exception message
* Test listen error after config entry setup
* Test listen failure during setup after forward entry
* Test not reloading when hass is stopping
* Test client disconnect is called on entry unload
* Fix and test client not connected during driver setup
* Fix and test driver ready timeout
* Stringify listen task exception when logging
* Use identity compare
* Guard for closed connection
* Consolidate listen task checking and tests
* Improve config entry state transitions when unloading and removing entries
* Update integrations which check for a single loaded entry
* Update tests checking state after unload fails
* Update homeassistant/config_entries.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Add zwave_js node_capabilities and invoke_cc_api websocket commands
* Map isSecure to is_secure
* Add tests
* Add error handling
* fix
* Use to_dict function
* Make response compatible with current expectations
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Move set addon options to aiohasupervisor
* addon stats to aiohasupervisor and test fixes
* addon changelogs to aiohasupervisor
* Raise correct error for library in tests
* Cache client in instance property
* Use singleton method rather then HassIO instance method
* Mock supervisor client in more tests
* Z-Wave JS: support non-dimmable color lights
* remove black_is_off light, support on/off/color
* fix: tests for on/off light
* fix: typo
* remove commented out old test code
* add test for off and on
* support colored lights without separate brightness control
* add test for color-only light
* refactor: extract color only light
* fix: preserve color when changing brightness
* extend tests
* refactor again
* refactor scale check
* refactor: remove impossible check
* review feedback
* review feedback
* fix discovery to handle all 3 switch CCs, limit search to same endpoint
* Update homeassistant/components/zwave_js/discovery.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/zwave_js/discovery.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* add test for Smart Switch 7 state
* Add type annotations
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Use aiohasupervosor for store addon info
* Use aiohasupervisor install addon
* Use aiohasupervisor for store info API
* Fix onboarding test
* Changes from feedback
* Move get_supervisor_client out of constructor
* Mock supervisor_client in tests
* Make property private
* Enable Zwave notification sensors by default
* Enable Zwave notification sensors by default
* Enable Zwave notification sensors by default
* Enable Zwave notification sensors by default
* Enable Zwave notification sensors by default
* Enable Zwave notification sensors by default
* Enable Zwave notification sensors by default
* Enable Zwave notification sensors by default
* Fix the check to (dis)allow discovering a value multiple times
* Prevent discovery of duplicate Notification CC sensors
* alarm sensors disabled by default
* one more fix
* Update diagnostics tests
---------
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>