mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 22:07:10 +00:00
Toon, support Energy dashboard by default (#57233)
This commit is contained in:
parent
19b0212ff0
commit
24fa2a714a
@ -186,7 +186,6 @@ SENSOR_ENTITIES: tuple[ToonSensorEntityDescription, ...] = (
|
||||
native_unit_of_measurement=VOLUME_CUBIC_METERS,
|
||||
state_class=STATE_CLASS_TOTAL_INCREASING,
|
||||
device_class=DEVICE_CLASS_GAS,
|
||||
entity_registry_enabled_default=False,
|
||||
cls=ToonGasMeterDeviceSensor,
|
||||
),
|
||||
ToonSensorEntityDescription(
|
||||
@ -244,7 +243,6 @@ SENSOR_ENTITIES: tuple[ToonSensorEntityDescription, ...] = (
|
||||
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
|
||||
device_class=DEVICE_CLASS_ENERGY,
|
||||
state_class=STATE_CLASS_TOTAL_INCREASING,
|
||||
entity_registry_enabled_default=False,
|
||||
cls=ToonElectricityMeterDeviceSensor,
|
||||
),
|
||||
ToonSensorEntityDescription(
|
||||
@ -255,7 +253,6 @@ SENSOR_ENTITIES: tuple[ToonSensorEntityDescription, ...] = (
|
||||
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
|
||||
device_class=DEVICE_CLASS_ENERGY,
|
||||
state_class=STATE_CLASS_TOTAL_INCREASING,
|
||||
entity_registry_enabled_default=False,
|
||||
cls=ToonElectricityMeterDeviceSensor,
|
||||
),
|
||||
ToonSensorEntityDescription(
|
||||
@ -276,7 +273,6 @@ SENSOR_ENTITIES: tuple[ToonSensorEntityDescription, ...] = (
|
||||
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
|
||||
device_class=DEVICE_CLASS_ENERGY,
|
||||
state_class=STATE_CLASS_TOTAL_INCREASING,
|
||||
entity_registry_enabled_default=False,
|
||||
cls=ToonElectricityMeterDeviceSensor,
|
||||
),
|
||||
ToonSensorEntityDescription(
|
||||
@ -287,7 +283,6 @@ SENSOR_ENTITIES: tuple[ToonSensorEntityDescription, ...] = (
|
||||
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
|
||||
device_class=DEVICE_CLASS_ENERGY,
|
||||
state_class=STATE_CLASS_TOTAL_INCREASING,
|
||||
entity_registry_enabled_default=False,
|
||||
cls=ToonElectricityMeterDeviceSensor,
|
||||
),
|
||||
ToonSensorEntityDescription(
|
||||
@ -391,6 +386,7 @@ SENSOR_ENTITIES_SOLAR: tuple[ToonSensorEntityDescription, ...] = (
|
||||
measurement="day_produced_solar",
|
||||
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
|
||||
device_class=DEVICE_CLASS_ENERGY,
|
||||
state_class=STATE_CLASS_TOTAL_INCREASING,
|
||||
cls=ToonSolarDeviceSensor,
|
||||
),
|
||||
ToonSensorEntityDescription(
|
||||
|
Loading…
x
Reference in New Issue
Block a user