hass-core/tests/components/zha
Jan-Philipp Benecke 10014838ef
Dynamically map state class, device class and UoM in ZHA smart energy metering sensor (#107685)
* Dynamically map state class, device class and UoM in ZHA smart energy metering sensor

* Fix some state & device classes and add scaling

* Fix added imperial gallons tests

* Use entity description instead of custom class & add one entity to tests

* Apply code review suggestion

* Scale only when needed

* Revert "Scale only when needed"

This reverts commit a9e0403402.

* Avoid second lookup of entity description

* Change test to not mix sensor types
2024-01-17 00:40:00 +01:00
..
__init__.py
common.py
conftest.py
data.py
test_alarm_control_panel.py
test_api.py
test_backup.py
test_base.py
test_binary_sensor.py
test_button.py
test_climate.py
test_cluster_handlers.py Match ZHA Custom ClusterHandler on a Custom Cluster using a unique id for the quirk (#101709) 2023-12-27 11:48:30 -05:00
test_config_flow.py
test_cover.py
test_device.py
test_device_action.py
test_device_tracker.py
test_device_trigger.py
test_diagnostics.py
test_discover.py
test_fan.py
test_gateway.py Reload ZHA only a single time when the connection is lost multiple times (#107963) 2024-01-13 16:32:25 -05:00
test_helpers.py
test_init.py
test_light.py
test_lock.py
test_logbook.py
test_number.py
test_radio_manager.py
test_registries.py
test_repairs.py
test_select.py
test_sensor.py Dynamically map state class, device class and UoM in ZHA smart energy metering sensor (#107685) 2024-01-17 00:40:00 +01:00
test_silabs_multiprotocol.py
test_siren.py
test_switch.py
test_websocket_api.py
zha_devices_list.py