Add more sensors for #22
This commit is contained in:
parent
e2c7ca36db
commit
a2d0257410
@ -152,6 +152,9 @@ BINARY_SENSORS: dict[str, tuple[HonBinarySensorEntityDescription, ...]] = {
|
||||
device_class=BinarySensorDeviceClass.HEAT,
|
||||
on_value="1",
|
||||
),
|
||||
HonBinarySensorEntityDescription(
|
||||
key="panStatus", name="Pan Status", on_value="1", icon="mdi:pot-mix"
|
||||
),
|
||||
HonBinarySensorEntityDescription(
|
||||
key="hobLockStatus",
|
||||
name="Hob Lock",
|
||||
|
@ -55,7 +55,7 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
|
||||
name="Current Electricity Used",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
device_class=SensorDeviceClass.POWER,
|
||||
native_unit_of_measurement=UnitOfPower.KILO_WATT_HOUR,
|
||||
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
||||
icon="mdi:lightning-bolt",
|
||||
),
|
||||
SensorEntityDescription(
|
||||
@ -171,7 +171,7 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
|
||||
name="Current Electricity Used",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
device_class=SensorDeviceClass.POWER,
|
||||
native_unit_of_measurement=UnitOfPower.KILO_WATT_HOUR,
|
||||
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
||||
icon="mdi:lightning-bolt",
|
||||
),
|
||||
SensorEntityDescription(
|
||||
@ -279,6 +279,12 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
|
||||
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||
),
|
||||
SensorEntityDescription(key="errors", name="Error", icon="mdi:math-log"),
|
||||
SensorEntityDescription(
|
||||
key="power",
|
||||
name="Power",
|
||||
icon="mdi:lightning-bolt",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
),
|
||||
"DW": (
|
||||
SensorEntityDescription(
|
||||
|
Loading…
Reference in New Issue
Block a user