Skip to content

Commit

Permalink
Set default friendly_name of Vacuum entity to appliance name (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
joakimjalden authored Sep 29, 2024
1 parent 5434f30 commit cb6025b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/wellbeing/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def _create_entities(data):
device_class=SensorDeviceClass.ENUM,
),
ApplianceVacuum(
name="Vacuum",
name=data.get("applianceName","Vacuum"),
attr="robotStatus",
),
]
Expand Down

0 comments on commit cb6025b

Please sign in to comment.