hass-core/tests/components/zwave_js
Raman Gupta e915f5be53
Handle FailedCommand exceptions in zwave_js WS API ()
* Handle zwave-js errors in WS API

* Unsubscribe callbacks when zwave-js error is caught

* fix tests

* simplify unsub logic

* add tests

* add kwargs to be safe

* use existing msg format

* switch to generic failed command handling

* remove unneeded constant

* Update homeassistant/components/zwave_js/api.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/zwave_js/api.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* fix

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-07-13 00:13:43 -04:00
..
__init__.py
common.py Mark entities for dead zwave_js nodes as unavailable () 2021-07-03 22:06:07 -04:00
conftest.py Add zwave_js options flow to reconfigure server () 2021-06-24 13:15:42 +02:00
test_api.py Handle FailedCommand exceptions in zwave_js WS API () 2021-07-13 00:13:43 -04:00
test_binary_sensor.py Use disabled_by constants () 2021-04-23 09:56:42 +02:00
test_climate.py Don't raise when setting HVAC mode without a mode ZwaveValue () 2021-07-06 16:33:07 +02:00
test_config_flow.py Add zwave_js options flow to reconfigure server () 2021-06-24 13:15:42 +02:00
test_cover.py Set zwave_js cover device_class for shutters and blinds () 2021-05-16 08:26:16 +02:00
test_device_condition.py Initial support for zwave_js device conditions () 2021-07-11 21:22:33 -07:00
test_discovery.py Add zwave_js support for HeatIt Z-TRM2fx () 2021-05-09 15:28:35 -04:00
test_events.py Add zwave_js discovery schema for Vision Security ZL7432 () 2021-04-28 10:22:54 +02:00
test_fan.py Bump zwave-js-server-python to 0.22.0 () 2021-03-18 18:12:33 +01:00
test_init.py Move zwave_js migration tests into new module () 2021-06-21 20:42:03 -04:00
test_light.py Add transition support to zwave_js lights () 2021-07-09 12:15:20 -04:00
test_lock.py Mark entities for dead zwave_js nodes as unavailable () 2021-07-03 22:06:07 -04:00
test_migrate.py Move zwave_js migration tests into new module () 2021-06-21 20:42:03 -04:00
test_number.py Bump zwave-js-server-python to 0.22.0 () 2021-03-18 18:12:33 +01:00
test_sensor.py Add zwave_js node status sensor () 2021-05-31 08:46:28 +02:00
test_services.py Support bitmask as a value () 2021-06-16 15:53:45 -04:00
test_switch.py Bump zwave-js-server-python to 0.22.0 () 2021-03-18 18:12:33 +01:00