core/tests/components/smlight
TimL 6aa07243cd
Add info based sensors to Smlight integration (#125482)
* Move entity category to class

* improve type hints

* Regenerate sensor snapshots to remove some invalid entries

* Add info sensors that display various device settings/modes

* Add strings for info sensors

* Update sensor snapshot with new sensors

* Use StateType

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Use icon translations

* statetype

* drop ip sensor

* Lookup enum values before translating

* entities use options

* update options strings

strings

* lookup values from options

* update sensor snapshot

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-13 13:36:54 +02:00
..
fixtures Improve handling of old firmware versions (#125406) 2024-09-06 09:46:08 -04:00
snapshots Add info based sensors to Smlight integration (#125482) 2024-09-13 13:36:54 +02:00
__init__.py
conftest.py Add server side events to Smlight integration (#125553) 2024-09-11 12:53:08 +02:00
test_binary_sensor.py Add binary_sensor platform for Smlight integration (#125284) 2024-09-06 08:11:50 +02:00
test_button.py Add Button platform for Smlight integration (#124970) 2024-09-04 19:10:59 +02:00
test_config_flow.py Use smlight discovery hostname as device name (#125359) 2024-09-06 11:49:10 +02:00
test_init.py Improve handling of old firmware versions (#125406) 2024-09-06 09:46:08 -04:00
test_sensor.py Add uptime sensors for Smlight (#124408) 2024-09-04 20:31:56 +02:00
test_switch.py Add server side events to Smlight integration (#125553) 2024-09-11 12:53:08 +02:00