core/homeassistant
Michał Huryn 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 <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>
2022-10-20 14:35:28 +02:00
..
auth
backports
brands Revert "Add Mazda brand" (#80314) 2022-10-14 15:48:10 +02:00
components Add blebox binary_sensor platform (#79535) 2022-10-20 14:35:28 +02:00
generated Add integration_type to Axis, deCONZ and UniFi manifest (#80630) 2022-10-19 21:56:19 +02:00
helpers Improve type hint in entity_component (#80596) 2022-10-20 12:38:22 +02:00
scripts
util Enforce kwargs in unit system initialisation (#80620) 2022-10-20 10:43:32 +02:00
__init__.py
__main__.py
block_async_io.py
bootstrap.py Fix typo SIGNAL_BOOTSTRAP_INTEGRATONS -> SIGNAL_BOOTSTRAP_INTEGRATIONS (#79970) 2022-10-09 17:06:28 -10:00
config.py Deprecate CONF_UNIT_SYSTEM_*** constants (#80320) 2022-10-14 16:50:04 +02:00
config_entries.py
const.py Adjust precipitation units (#79780) 2022-10-19 14:35:49 +02:00
core.py Rename IMPERIAL_SYSTEM to US_CUSTOMARY_SYSTEM (#80253) 2022-10-19 13:31:08 +02:00
data_entry_flow.py
exceptions.py
loader.py Integrations v2.1: Differentiating hubs, devices and services (#80524) 2022-10-19 12:41:43 +02:00
package_constraints.txt Update frontend to 20221020.0 (#80661) 2022-10-20 12:29:51 +02:00
requirements.py
runner.py
setup.py
strings.json