mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +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,
|
native_unit_of_measurement=VOLUME_CUBIC_METERS,
|
||||||
state_class=STATE_CLASS_TOTAL_INCREASING,
|
state_class=STATE_CLASS_TOTAL_INCREASING,
|
||||||
device_class=DEVICE_CLASS_GAS,
|
device_class=DEVICE_CLASS_GAS,
|
||||||
entity_registry_enabled_default=False,
|
|
||||||
cls=ToonGasMeterDeviceSensor,
|
cls=ToonGasMeterDeviceSensor,
|
||||||
),
|
),
|
||||||
ToonSensorEntityDescription(
|
ToonSensorEntityDescription(
|
||||||
@ -244,7 +243,6 @@ SENSOR_ENTITIES: tuple[ToonSensorEntityDescription, ...] = (
|
|||||||
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
|
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
|
||||||
device_class=DEVICE_CLASS_ENERGY,
|
device_class=DEVICE_CLASS_ENERGY,
|
||||||
state_class=STATE_CLASS_TOTAL_INCREASING,
|
state_class=STATE_CLASS_TOTAL_INCREASING,
|
||||||
entity_registry_enabled_default=False,
|
|
||||||
cls=ToonElectricityMeterDeviceSensor,
|
cls=ToonElectricityMeterDeviceSensor,
|
||||||
),
|
),
|
||||||
ToonSensorEntityDescription(
|
ToonSensorEntityDescription(
|
||||||
@ -255,7 +253,6 @@ SENSOR_ENTITIES: tuple[ToonSensorEntityDescription, ...] = (
|
|||||||
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
|
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
|
||||||
device_class=DEVICE_CLASS_ENERGY,
|
device_class=DEVICE_CLASS_ENERGY,
|
||||||
state_class=STATE_CLASS_TOTAL_INCREASING,
|
state_class=STATE_CLASS_TOTAL_INCREASING,
|
||||||
entity_registry_enabled_default=False,
|
|
||||||
cls=ToonElectricityMeterDeviceSensor,
|
cls=ToonElectricityMeterDeviceSensor,
|
||||||
),
|
),
|
||||||
ToonSensorEntityDescription(
|
ToonSensorEntityDescription(
|
||||||
@ -276,7 +273,6 @@ SENSOR_ENTITIES: tuple[ToonSensorEntityDescription, ...] = (
|
|||||||
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
|
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
|
||||||
device_class=DEVICE_CLASS_ENERGY,
|
device_class=DEVICE_CLASS_ENERGY,
|
||||||
state_class=STATE_CLASS_TOTAL_INCREASING,
|
state_class=STATE_CLASS_TOTAL_INCREASING,
|
||||||
entity_registry_enabled_default=False,
|
|
||||||
cls=ToonElectricityMeterDeviceSensor,
|
cls=ToonElectricityMeterDeviceSensor,
|
||||||
),
|
),
|
||||||
ToonSensorEntityDescription(
|
ToonSensorEntityDescription(
|
||||||
@ -287,7 +283,6 @@ SENSOR_ENTITIES: tuple[ToonSensorEntityDescription, ...] = (
|
|||||||
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
|
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
|
||||||
device_class=DEVICE_CLASS_ENERGY,
|
device_class=DEVICE_CLASS_ENERGY,
|
||||||
state_class=STATE_CLASS_TOTAL_INCREASING,
|
state_class=STATE_CLASS_TOTAL_INCREASING,
|
||||||
entity_registry_enabled_default=False,
|
|
||||||
cls=ToonElectricityMeterDeviceSensor,
|
cls=ToonElectricityMeterDeviceSensor,
|
||||||
),
|
),
|
||||||
ToonSensorEntityDescription(
|
ToonSensorEntityDescription(
|
||||||
@ -391,6 +386,7 @@ SENSOR_ENTITIES_SOLAR: tuple[ToonSensorEntityDescription, ...] = (
|
|||||||
measurement="day_produced_solar",
|
measurement="day_produced_solar",
|
||||||
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
|
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
|
||||||
device_class=DEVICE_CLASS_ENERGY,
|
device_class=DEVICE_CLASS_ENERGY,
|
||||||
|
state_class=STATE_CLASS_TOTAL_INCREASING,
|
||||||
cls=ToonSolarDeviceSensor,
|
cls=ToonSolarDeviceSensor,
|
||||||
),
|
),
|
||||||
ToonSensorEntityDescription(
|
ToonSensorEntityDescription(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user