epenet
d8d054e7dd
Improve type hints in base entities ( #138708 )
2025-02-17 14:45:00 +01:00
Kevin Stillhammer
8ab6a505a4
Write data to state after Broadlink entity added ( #121493 )
...
* Write data to ha after entity added
* Properly mock api return values
Some values like _attr_is_on were mapped to MagicMocks which led to them evaluating to True. Actually calling the update state method when adding the entities made that improper mocking come to the surface.
* Call _update_state instead of _recv_data
2024-07-08 13:15:17 +02:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry ( #98149 )
...
* Move DeviceInfo from entity to device registry
* Update integrations
2023-08-10 22:04:26 -04:00
Felipe Martins Diel
774e1b0022
Decouple BroadlinkDevice.available property ( #58853 )
...
* Decouple BroadlinkDevice.available property
* Exclude unreachable line from coverage
2021-11-23 21:59:18 -06:00
Felipe Martins Diel
93bc88be16
Simplify requests in the Broadlink integration ( #58850 )
2021-11-01 12:49:00 +01:00
Robert Hillis
137d41d8b4
Use DeviceInfo Class B-C ( #58217 )
2021-10-23 11:41:32 +02:00
Felipe Martins Diel
43d3b6c2a2
Move the coordinator logic to the BroadlinkEntity class ( #53571 )
2021-07-27 13:53:29 -05:00
Robert Hillis
800f7fe3a5
Use entity class attributes for Broadlink ( #53058 )
...
* Clanup broadlink
* rework
* tweak
* fix using wrong attribute
* tweak
* revert device info
2021-07-21 15:27:52 +02:00
J. Nick Koston
22c8afe637
Create a base class for broadlink entities ( #52132 )
...
* Create a base class for broadlink entities
* Update homeassistant/components/broadlink/entity.py
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
* Update homeassistant/components/broadlink/entity.py
* Update homeassistant/components/broadlink/entity.py
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
* black, remove unused
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
2021-06-25 07:39:21 +02:00