Commit Graph
4 Commits
Author SHA1 Message Date
Erik MontnemeryandGitHub f83c8de8d3 Update signature of platforms' async_setup_entry (#138201) 2025-02-10 21:08:03 +01:00
epenetandGitHub add8db0186 Use runtime_data in blebox (#129070) 2024-10-24 14:32:20 +02:00
epenetandGitHub 9f1cc638c9 Move blebox base entity to separate module (#126027) 2024-09-16 11:26:12 +02:00
4e4682d2e0 Add blebox binary_sensor platform (#79535)
* Add binary_sensor platform, with test.

* Applied suggestions by @epenet

* refactor: as @epenet suggested, passing entity_description to init

* Update homeassistant/components/blebox/binary_sensor.py

@epenet suggestion, moved refactored logic of create_blebox_entities into BleBoxBinarySensorEntity init

Co-authored-by: epenet <[email protected]>

* refactor: as @epenet class selector and entity creation moved to binary_sensor

* refactor: list comprehension in entity list setup in binary sensor

* Update homeassistant/components/blebox/binary_sensor.py

Co-authored-by: epenet <[email protected]>

Co-authored-by: epenet <[email protected]>
2022-10-20 14:35:28 +02:00