core/tests/components/sensor
Jan Bouwhuis 8968ed1c47
Fix check on non numeric custom sensor device classes (#89052)
* Custom device classes are not numeric

* Update homeassistant/components/sensor/__init__.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Add test

* Update homeassistant/components/sensor/__init__.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-02 14:20:26 -05:00
..
__init__.py Use python defaults for comparing State, LazyState, and Event objects (#86856) 2023-01-29 13:31:43 -05:00
test_device_condition.py Add number + sensor device class volume storage (#88312) 2023-03-01 11:22:57 +01:00
test_device_trigger.py Add number + sensor device class volume storage (#88312) 2023-03-01 11:22:57 +01:00
test_helpers.py Add type hints to integration tests (part 19) (#88178) 2023-02-15 18:07:40 +01:00
test_init.py Fix check on non numeric custom sensor device classes (#89052) 2023-03-02 14:20:26 -05:00
test_recorder.py Enable Ruff B007 (#88356) 2023-02-17 21:08:18 -05:00
test_significant_change.py Add type hints to integration tests (part 19) (#88178) 2023-02-15 18:07:40 +01:00
test_websocket_api.py Sort unit lists sent to frontend (#88898) 2023-02-28 16:12:49 +01:00