1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-30 02:37:04 +00:00

3 Commits

Author SHA1 Message Date
TimL
a3cde3d8ab
Fix authentication error when adding new devices to SMLIGHT ()
* Fix authentication issue

Fixes 

* Fix incorrect mocks in unsupported device tests

* set _device_name in auth flow also

* Update get_info Mock to handle authentication

* Update tests
2025-02-12 12:22:58 +01:00
TimL
3f4f2f4e2b
Add router reconnect button for Smlight integration ()
* Add button for router reconnect

* strings for router reconnect

* remove stale router reconnect if zigbee is not running router firmware

* Add tests for router reconnect button

* Update homeassistant/components/smlight/strings.json

And fix associated tests

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

* Make router button entity dynamic

* adjust test for dynamic runtime removal

* drop if statements from tests

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-23 09:36:56 +02:00
TimL
7266a16295
Add Button platform for Smlight integration ()
* Add button platform for smlight integration

* Add strings required for button platform

* Add commands api to smlight mock client

* Add tests for smlight button platform

* Move entity category to class

* Disable by default Zigbee flash mode
2024-09-04 19:10:59 +02:00