1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-25 05:26:47 +00:00
Files
core/tests/components
Raman Gupta 9e4e43cf77 Handle zwave_js metadata/value updates when the unit changes (#63579)
* Handle zwave_js metadata updates when the unit changes

* Use value updated event instead of metadata updated event so we don't get an invalid state value

* update comments and formatting

* simplify

* Update tests/components/zwave_js/test_sensor.py

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

* Update tests/components/zwave_js/test_sensor.py

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

* Update tests/components/zwave_js/test_sensor.py

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

* fix tests

* add additional assertions

* Add unit checks and simplify logic

* Add unit assertion

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-08 13:23:29 +01:00
..
2021-12-13 17:11:21 +01:00
2021-12-27 19:50:43 +01:00
2022-01-05 15:34:33 +01:00
2021-12-12 14:09:45 -08:00
2021-12-20 16:18:58 +01:00
2022-01-05 15:34:33 +01:00
2021-12-15 23:25:40 +02:00
2021-12-15 23:25:40 +02:00
2022-01-05 15:34:33 +01:00
2021-12-21 21:54:58 +01:00
2021-12-17 16:14:59 +01:00
2021-12-22 09:16:37 +01:00
2021-12-23 23:07:56 +01:00
2022-01-05 15:34:33 +01:00
2022-01-05 12:18:52 +01:00
2022-01-07 22:53:05 -10:00
2021-12-15 23:25:40 +02:00
2022-01-05 15:34:33 +01:00
2021-12-20 13:11:26 -07:00
2021-12-14 15:12:19 +01:00
2021-12-31 09:44:35 -10:00
2022-01-04 13:40:29 +01:00