core/tests/components/zha
Alexei Chetroi d0827a9129
ZHA support for additional entities on ElectricalMeasurement ZCL cluster (#56909)
* Add electrical measurement type state attribute.

* Add active_power_max attribute

* Skip unsupported attributes on entity update

* Fix tests

* Create sensor only if the main attribute is supported

* Refactor ElectricalMeasurement sensor to use attr specific divisor and multiplier

* Multiple entities for electrical measurement cluster

* Update discovery tests

* Sensor clean up

* update tests

* Pylint
2021-10-02 21:57:49 -04:00
..
__init__.py
common.py Add "Summation Delivered" Sensor for SmartEnergy metering ZHA channel (#56666) 2021-09-29 09:35:20 -07:00
conftest.py Refactor ZHA HVAC thermostat channel (#56238) 2021-09-17 15:17:34 -04:00
test_alarm_control_panel.py Refactor ZHA tests (#55844) 2021-09-06 19:00:06 -04:00
test_api.py Refactor ZHA tests (#55844) 2021-09-06 19:00:06 -04:00
test_binary_sensor.py Refactor ZHA tests (#55844) 2021-09-06 19:00:06 -04:00
test_channels.py ZHA support for additional entities on ElectricalMeasurement ZCL cluster (#56909) 2021-10-02 21:57:49 -04:00
test_climate.py Refactor ZHA HVAC thermostat channel (#56238) 2021-09-17 15:17:34 -04:00
test_config_flow.py Use `async_update_entry` in config unit test instead of modifying `data` (#55855) 2021-09-06 16:57:59 -04:00
test_cover.py Refactor ZHA tests (#55844) 2021-09-06 19:00:06 -04:00
test_device.py Refactor ZHA tests (#55844) 2021-09-06 19:00:06 -04:00
test_device_action.py Refactor ZHA tests (#55844) 2021-09-06 19:00:06 -04:00
test_device_tracker.py Refactor ZHA tests (#55844) 2021-09-06 19:00:06 -04:00
test_device_trigger.py Refactor ZHA tests (#55844) 2021-09-06 19:00:06 -04:00
test_discover.py Add "Summation Delivered" Sensor for SmartEnergy metering ZHA channel (#56666) 2021-09-29 09:35:20 -07:00
test_fan.py ZHA channel ZCL attributes initialization (#56476) 2021-09-22 11:34:30 -04:00
test_gateway.py Refactor ZHA tests (#55844) 2021-09-06 19:00:06 -04:00
test_init.py Replace zigpy-cc with zigpy-znp (#55828) 2021-09-06 09:50:54 -04:00
test_light.py Refactor ZHA tests (#55844) 2021-09-06 19:00:06 -04:00
test_lock.py Refactor ZHA tests (#55844) 2021-09-06 19:00:06 -04:00
test_number.py ZHA channel ZCL attributes initialization (#56476) 2021-09-22 11:34:30 -04:00
test_registries.py Add "Summation Delivered" Sensor for SmartEnergy metering ZHA channel (#56666) 2021-09-29 09:35:20 -07:00
test_sensor.py ZHA support for additional entities on ElectricalMeasurement ZCL cluster (#56909) 2021-10-02 21:57:49 -04:00
test_switch.py Refactor ZHA tests (#55844) 2021-09-06 19:00:06 -04:00
zha_devices_list.py ZHA support for additional entities on ElectricalMeasurement ZCL cluster (#56909) 2021-10-02 21:57:49 -04:00