Improve the dsmr_reader sensor names (#84269)
This commit is contained in:
parent
68857dc272
commit
bd65258905
1 changed files with 11 additions and 11 deletions
|
@ -222,61 +222,61 @@ SENSORS: tuple[DSMRReaderSensorEntityDescription, ...] = (
|
||||||
),
|
),
|
||||||
DSMRReaderSensorEntityDescription(
|
DSMRReaderSensorEntityDescription(
|
||||||
key="dsmr/day-consumption/electricity1",
|
key="dsmr/day-consumption/electricity1",
|
||||||
name="Low tariff usage",
|
name="Low tariff usage (daily)",
|
||||||
device_class=SensorDeviceClass.ENERGY,
|
device_class=SensorDeviceClass.ENERGY,
|
||||||
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
||||||
),
|
),
|
||||||
DSMRReaderSensorEntityDescription(
|
DSMRReaderSensorEntityDescription(
|
||||||
key="dsmr/day-consumption/electricity2",
|
key="dsmr/day-consumption/electricity2",
|
||||||
name="High tariff usage",
|
name="High tariff usage (daily)",
|
||||||
device_class=SensorDeviceClass.ENERGY,
|
device_class=SensorDeviceClass.ENERGY,
|
||||||
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
||||||
),
|
),
|
||||||
DSMRReaderSensorEntityDescription(
|
DSMRReaderSensorEntityDescription(
|
||||||
key="dsmr/day-consumption/electricity1_returned",
|
key="dsmr/day-consumption/electricity1_returned",
|
||||||
name="Low tariff return",
|
name="Low tariff return (daily)",
|
||||||
device_class=SensorDeviceClass.ENERGY,
|
device_class=SensorDeviceClass.ENERGY,
|
||||||
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
||||||
),
|
),
|
||||||
DSMRReaderSensorEntityDescription(
|
DSMRReaderSensorEntityDescription(
|
||||||
key="dsmr/day-consumption/electricity2_returned",
|
key="dsmr/day-consumption/electricity2_returned",
|
||||||
name="High tariff return",
|
name="High tariff return (daily)",
|
||||||
device_class=SensorDeviceClass.ENERGY,
|
device_class=SensorDeviceClass.ENERGY,
|
||||||
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
||||||
),
|
),
|
||||||
DSMRReaderSensorEntityDescription(
|
DSMRReaderSensorEntityDescription(
|
||||||
key="dsmr/day-consumption/electricity_merged",
|
key="dsmr/day-consumption/electricity_merged",
|
||||||
name="Power usage total",
|
name="Power usage total (daily)",
|
||||||
device_class=SensorDeviceClass.ENERGY,
|
device_class=SensorDeviceClass.ENERGY,
|
||||||
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
||||||
),
|
),
|
||||||
DSMRReaderSensorEntityDescription(
|
DSMRReaderSensorEntityDescription(
|
||||||
key="dsmr/day-consumption/electricity_returned_merged",
|
key="dsmr/day-consumption/electricity_returned_merged",
|
||||||
name="Power return total",
|
name="Power return total (daily)",
|
||||||
device_class=SensorDeviceClass.ENERGY,
|
device_class=SensorDeviceClass.ENERGY,
|
||||||
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
||||||
),
|
),
|
||||||
DSMRReaderSensorEntityDescription(
|
DSMRReaderSensorEntityDescription(
|
||||||
key="dsmr/day-consumption/electricity1_cost",
|
key="dsmr/day-consumption/electricity1_cost",
|
||||||
name="Low tariff cost",
|
name="Low tariff cost (daily)",
|
||||||
icon="mdi:currency-eur",
|
icon="mdi:currency-eur",
|
||||||
native_unit_of_measurement=CURRENCY_EURO,
|
native_unit_of_measurement=CURRENCY_EURO,
|
||||||
),
|
),
|
||||||
DSMRReaderSensorEntityDescription(
|
DSMRReaderSensorEntityDescription(
|
||||||
key="dsmr/day-consumption/electricity2_cost",
|
key="dsmr/day-consumption/electricity2_cost",
|
||||||
name="High tariff cost",
|
name="High tariff cost (daily)",
|
||||||
icon="mdi:currency-eur",
|
icon="mdi:currency-eur",
|
||||||
native_unit_of_measurement=CURRENCY_EURO,
|
native_unit_of_measurement=CURRENCY_EURO,
|
||||||
),
|
),
|
||||||
DSMRReaderSensorEntityDescription(
|
DSMRReaderSensorEntityDescription(
|
||||||
key="dsmr/day-consumption/electricity_cost_merged",
|
key="dsmr/day-consumption/electricity_cost_merged",
|
||||||
name="Power total cost",
|
name="Power total cost (daily)",
|
||||||
icon="mdi:currency-eur",
|
icon="mdi:currency-eur",
|
||||||
native_unit_of_measurement=CURRENCY_EURO,
|
native_unit_of_measurement=CURRENCY_EURO,
|
||||||
),
|
),
|
||||||
DSMRReaderSensorEntityDescription(
|
DSMRReaderSensorEntityDescription(
|
||||||
key="dsmr/day-consumption/gas",
|
key="dsmr/day-consumption/gas",
|
||||||
name="Gas usage",
|
name="Gas usage (daily)",
|
||||||
icon="mdi:counter",
|
icon="mdi:counter",
|
||||||
native_unit_of_measurement=UnitOfVolume.CUBIC_METERS,
|
native_unit_of_measurement=UnitOfVolume.CUBIC_METERS,
|
||||||
),
|
),
|
||||||
|
@ -493,7 +493,7 @@ SENSORS: tuple[DSMRReaderSensorEntityDescription, ...] = (
|
||||||
),
|
),
|
||||||
DSMRReaderSensorEntityDescription(
|
DSMRReaderSensorEntityDescription(
|
||||||
key="dsmr/current-year/electricity2_returned",
|
key="dsmr/current-year/electricity2_returned",
|
||||||
name="Current year high tariff usage",
|
name="Current year high tariff returned",
|
||||||
device_class=SensorDeviceClass.ENERGY,
|
device_class=SensorDeviceClass.ENERGY,
|
||||||
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue