* 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>
* Bug fix for light platform, when async_turn_on recieves multiple keys.
* Changes according to @MartinHjelmare suggestion.
* Moved effect set call in BleBoxLightEntity.async_turn_on method.
* Added tests for effect in light platform. Added ValueError raise if effect not in effect list.
* Removed duplicated line from test as @MartinHjelmare suggested.
* Added tvLiftBox support.
* Changes after @epenet code review.
* After @epenet code review, dictionaries moved to relevant modules.
* Import path changed to full path.
* Removed redundant code in BLEBOX_TO_<platform>_DEVICE_CLASSES for switch and button platforms.
* Post isort on covers.
* Added tests, required version bump. As property was added inside dependency.
* Changes accordingly to sidenotes given by @MartinHjelmare in pull #73834.
* Mini version bump according to notes in pull #73834.
* Error message fix, test adjustment.
* Change config entry state to an enum
* Allow but deprecate EntryState str equality comparison
* Test fixes
* Rename to ConfigEntryState
* Remove str comparability backcompat
* Update new occurrences of strs cropped up during review
* Unused pylint suppression cleanups
* Remove outdated pylint bug references
* Add flake8-noqa config and note to run it every now and then
* Add codes to noqa's
* Unused noqa cleanups
* add BleBox lights support
* cherry pick refactoring from #35552
* Inherit from LightEntity instead of Light
Co-authored-by: J. Nick Koston <nick@koston.org>
* import LightEntity instead of Light
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: J. Nick Koston <nick@koston.org>
* increase coverage and cleanup BleBox cover
* test entity properites via the `state` property
* properly test entity properities
* properly mock io call