mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
@ -94,7 +94,7 @@ SENSORS: dict[str, tuple[RefossSensorEntityDescription, ...]] = {
|
||||
key="energy",
|
||||
translation_key="this_month_energy",
|
||||
device_class=SensorDeviceClass.ENERGY,
|
||||
state_class=SensorStateClass.TOTAL,
|
||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
||||
native_unit_of_measurement=UnitOfEnergy.WATT_HOUR,
|
||||
suggested_display_precision=2,
|
||||
subkey="mConsume",
|
||||
@ -104,7 +104,7 @@ SENSORS: dict[str, tuple[RefossSensorEntityDescription, ...]] = {
|
||||
key="energy_returned",
|
||||
translation_key="this_month_energy_returned",
|
||||
device_class=SensorDeviceClass.ENERGY,
|
||||
state_class=SensorStateClass.TOTAL,
|
||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
||||
native_unit_of_measurement=UnitOfEnergy.WATT_HOUR,
|
||||
suggested_display_precision=2,
|
||||
subkey="mConsume",
|
||||
|
Reference in New Issue
Block a user