1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-03 01:55:55 +00:00
Files
core/tests
Alexei Chetroi 54c4e9335f Refactor ZHA sensor initialization (#43339)
* Refactor ZHA sensors to use cached values after restart

* Get attr from cluster, not channel

* Run cached state through formatter method

* Use cached values for div/multiplier for SmartEnergy channel

* Restore batter voltage from cache

* Refactor sensor to use cached values only

* Update tests

* Add battery sensor test
2020-11-18 21:34:12 -05:00
..