mirror of
https://github.com/home-assistant/core.git
synced 2025-07-04 03:47:09 +00:00
parent
b4fac38d8a
commit
a7f63e3847
@ -94,7 +94,7 @@ SENSORS: dict[str, tuple[RefossSensorEntityDescription, ...]] = {
|
|||||||
key="energy",
|
key="energy",
|
||||||
translation_key="this_month_energy",
|
translation_key="this_month_energy",
|
||||||
device_class=SensorDeviceClass.ENERGY,
|
device_class=SensorDeviceClass.ENERGY,
|
||||||
state_class=SensorStateClass.TOTAL,
|
state_class=SensorStateClass.TOTAL_INCREASING,
|
||||||
native_unit_of_measurement=UnitOfEnergy.WATT_HOUR,
|
native_unit_of_measurement=UnitOfEnergy.WATT_HOUR,
|
||||||
suggested_display_precision=2,
|
suggested_display_precision=2,
|
||||||
subkey="mConsume",
|
subkey="mConsume",
|
||||||
@ -104,7 +104,7 @@ SENSORS: dict[str, tuple[RefossSensorEntityDescription, ...]] = {
|
|||||||
key="energy_returned",
|
key="energy_returned",
|
||||||
translation_key="this_month_energy_returned",
|
translation_key="this_month_energy_returned",
|
||||||
device_class=SensorDeviceClass.ENERGY,
|
device_class=SensorDeviceClass.ENERGY,
|
||||||
state_class=SensorStateClass.TOTAL,
|
state_class=SensorStateClass.TOTAL_INCREASING,
|
||||||
native_unit_of_measurement=UnitOfEnergy.WATT_HOUR,
|
native_unit_of_measurement=UnitOfEnergy.WATT_HOUR,
|
||||||
suggested_display_precision=2,
|
suggested_display_precision=2,
|
||||||
subkey="mConsume",
|
subkey="mConsume",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user