hass-core/tests/components/blebox
Michał Huryn 4e4682d2e0
Add blebox binary_sensor platform ()
* 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
..
__init__.py
conftest.py Bump blebox_uniapi to 2.0.0 and adapt integration () 2022-06-29 11:57:55 +02:00
test_binary_sensor.py Add blebox binary_sensor platform () 2022-10-20 14:35:28 +02:00
test_button.py Remove incorrect device class from blebox button () 2022-07-12 10:01:53 +02:00
test_climate.py Cleanup root component imports in tests () 2022-09-21 06:57:41 -10:00
test_config_flow.py Search/replace RESULT_TYPE_* by FlowResultType enum () 2022-07-07 19:57:36 +03:00
test_cover.py Cleanup EntityFeature in tests () 2022-09-21 10:48:55 +02:00
test_init.py Improve type hints in blebox () 2022-10-19 17:49:40 +02:00
test_light.py Fix Blebox light scenes () 2022-07-14 11:21:01 +02:00
test_sensor.py Remove blebox AirQuality platform () 2022-09-30 11:37:47 +02:00
test_switch.py