mirror of
https://github.com/Andre0512/hon.git
synced 2025-05-13 06:34:22 -04:00
Add some fridge sensors, change some configs to controls
This commit is contained in:
parent
604cf1b3c6
commit
81676771c7
27 changed files with 392 additions and 41 deletions
|
@ -412,12 +412,30 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
|
|||
SensorEntityDescription(
|
||||
key="tempEnv",
|
||||
name="Room Temperature",
|
||||
icon="mdi:thermometer",
|
||||
icon="mdi:home-thermometer-outline",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
device_class=SensorDeviceClass.TEMPERATURE,
|
||||
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||
translation_key="room_temperature",
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="tempZ1",
|
||||
name="Temperature Fridge",
|
||||
icon="mdi:thermometer",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
device_class=SensorDeviceClass.TEMPERATURE,
|
||||
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||
translation_key="fridge_temp",
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="tempZ2",
|
||||
name="Temperature Freezer",
|
||||
icon="mdi:snowflake-thermometer",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
device_class=SensorDeviceClass.TEMPERATURE,
|
||||
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||
translation_key="freezer_temp",
|
||||
),
|
||||
),
|
||||
}
|
||||
SENSORS["WD"] = unique_entities(SENSORS["WM"], SENSORS["TD"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue