mirror of
https://github.com/Andre0512/hon.git
synced 2026-08-07 10:15:07 +00:00
Added Sensor for actual Weight to WashingMachine
This commit is contained in:
parent
593842144a
commit
9efb835c04
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue