Add electrical consumption sensor to Overkiz (#120717)

electrical consumption sensor
This commit is contained in:
Alexey ALERT Rubashёff
2024-06-28 11:45:27 +03:00
committed by GitHub
parent 827bfa89b3
commit c98e70a6dc

View File

@@ -182,6 +182,13 @@ SENSOR_DESCRIPTIONS: list[OverkizSensorDescription] = [
native_unit_of_measurement=UnitOfPower.WATT,
state_class=SensorStateClass.MEASUREMENT,
),
OverkizSensorDescription(
key=OverkizState.MODBUSLINK_POWER_HEAT_ELECTRICAL,
name="Electric power consumption",
device_class=SensorDeviceClass.POWER,
native_unit_of_measurement=UnitOfPower.WATT,
state_class=SensorStateClass.MEASUREMENT,
),
OverkizSensorDescription(
key=OverkizState.CORE_CONSUMPTION_TARIFF1,
name="Consumption tariff 1",