Skip to content

Commit

Permalink
Added separate sensor to pass along raw robotStatus to HA (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
joakimjalden authored Oct 5, 2024
1 parent cb6025b commit c56b3b7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions custom_components/wellbeing/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,19 @@ def _create_entities(data):
]

purei9_entities = [
ApplianceVacuum(
name=data.get("applianceName","Vacuum"),
attr="robotStatus",
),
ApplianceSensor(
name="Dustbin Status",
attr="dustbinStatus",
device_class=SensorDeviceClass.ENUM,
),
ApplianceVacuum(
name=data.get("applianceName","Vacuum"),
ApplianceSensor(
name="Robot Status",
attr="robotStatus",
device_class=SensorDeviceClass.ENUM,
),
]

Expand Down

0 comments on commit c56b3b7

Please sign in to comment.