Added Sensor for actual Weight to WashingMachine

This commit is contained in:
Alexander Buhr 2023-04-14 10:22:57 +02:00
parent 593842144a
commit 9efb835c04

View file

@ -64,8 +64,8 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
icon="mdi:water",
),
SensorEntityDescription(
key="startProgram.weight",
name="Suggested weight",
key="actualWeight",
name="Actual weight",
state_class=SensorStateClass.MEASUREMENT,
entity_category=EntityCategory.CONFIG,
native_unit_of_measurement=UnitOfMass.KILOGRAMS,
@ -94,6 +94,14 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
state_class=SensorStateClass.MEASUREMENT,
native_unit_of_measurement=UnitOfTime.MINUTES,
),
SensorEntityDescription(
key="startProgram.weight",
name="Suggested weight",
state_class=SensorStateClass.MEASUREMENT,
entity_category=EntityCategory.CONFIG,
native_unit_of_measurement=UnitOfMass.KILOGRAMS,
icon="mdi:weight-kilogram",
),
),
"TD": (
SensorEntityDescription(