core/tests/components/smlight
TimL 280f61dd77
Add update entity for second Zigbee radio (#136918)
* Add get_radio helper function

This is defined here primarily for use in simplifying otherwise repetitive
logic in the lambdas for entity descriptions.

* Get firmware manifests for second radio

* Create optional update entity for radio 2

* Add info fixture for SLZB-MR1

* Test for firmware updates of second radio

* Remove use of entity description creating entities

* Add idx to lambda functions

* Add latest_version lambda to ED

* Use Single zb_update description

* test radio2 update

* device type heading for release notes

* fix failing no internet test

* update release note tests

* assert radios

* fix return type installed_version

* refactor latest_version code

* update listener

* Dont create update entities for legacy firmware that can't upgrade

* Address review comments for update listener
2025-02-04 20:34:18 -06:00
..
fixtures Add update entity for second Zigbee radio (#136918) 2025-02-04 20:34:18 -06:00
snapshots Add update entity for second Zigbee radio (#136918) 2025-02-04 20:34:18 -06:00
__init__.py
conftest.py Add update entity for second Zigbee radio (#136918) 2025-02-04 20:34:18 -06:00
test_binary_sensor.py
test_button.py
test_config_flow.py Switch to using IP Addresses for connecting to smlight devices (#137204) 2025-02-02 17:08:32 -06:00
test_diagnostics.py
test_init.py Add update entity for second Zigbee radio (#136918) 2025-02-04 20:34:18 -06:00
test_sensor.py
test_switch.py
test_update.py Add update entity for second Zigbee radio (#136918) 2025-02-04 20:34:18 -06:00