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",
|
icon="mdi:water",
|
||||||
),
|
),
|
||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
key="startProgram.weight",
|
key="actualWeight",
|
||||||
name="Suggested weight",
|
name="Actual weight",
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
entity_category=EntityCategory.CONFIG,
|
entity_category=EntityCategory.CONFIG,
|
||||||
native_unit_of_measurement=UnitOfMass.KILOGRAMS,
|
native_unit_of_measurement=UnitOfMass.KILOGRAMS,
|
||||||
|
|
@ -94,6 +94,14 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
native_unit_of_measurement=UnitOfTime.MINUTES,
|
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": (
|
"TD": (
|
||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue