parent
e24989b446
commit
4a22b463d1
1 changed files with 14 additions and 0 deletions
|
@ -164,6 +164,13 @@ SENSORS: tuple[SensorEntityDescription, ...] = (
|
|||
device_class=SensorDeviceClass.ENERGY,
|
||||
state_class=SensorStateClass.TOTAL,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="electricity_consumed_point",
|
||||
name="Electricity consumed point",
|
||||
device_class=SensorDeviceClass.POWER,
|
||||
native_unit_of_measurement=UnitOfPower.WATT,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="electricity_consumed_off_peak_point",
|
||||
name="Electricity consumed off peak point",
|
||||
|
@ -192,6 +199,13 @@ SENSORS: tuple[SensorEntityDescription, ...] = (
|
|||
device_class=SensorDeviceClass.ENERGY,
|
||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="electricity_produced_point",
|
||||
name="Electricity produced point",
|
||||
device_class=SensorDeviceClass.POWER,
|
||||
native_unit_of_measurement=UnitOfPower.WATT,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="electricity_produced_off_peak_point",
|
||||
name="Electricity produced off peak point",
|
||||
|
|
Loading…
Add table
Reference in a new issue