Add breeze switch to Renson integration (#101641)

* Add breeze switch

* Cleanup code

* Replace switch entity with new fan entity

* Revert "Replace switch entity with new fan entity"

This reverts commit 4fc1ac22e67091a7e980aefd217652f2a88bed17.
This commit is contained in:
jimmyd-be 2024-02-16 17:56:09 +01:00 committed by GitHub
parent d449eadac3
commit 6f74ea9186
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 122 additions and 4 deletions

View file

@ -172,14 +172,12 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
raw_format=False,
device_class=SensorDeviceClass.TEMPERATURE,
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
entity_registry_enabled_default=False,
),
RensonSensorEntityDescription(
key="BREEZE_LEVEL_FIELD",
translation_key="breeze_level",
field=BREEZE_LEVEL_FIELD,
raw_format=False,
entity_registry_enabled_default=False,
device_class=SensorDeviceClass.ENUM,
options=["off", "level1", "level2", "level3", "level4", "breeze"],
),