mirror of
https://github.com/home-assistant/core.git
synced 2025-04-29 03:37:51 +00:00

* 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 <6771947+epenet@users.noreply.github.com> * 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 <6771947+epenet@users.noreply.github.com> Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>