From cb6025b28d439b62617b5975f8fa16f5a9542818 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Jald=C3=A9n?= Date: Sun, 29 Sep 2024 15:37:17 +0200 Subject: [PATCH] Set default friendly_name of Vacuum entity to appliance name (#146) --- custom_components/wellbeing/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/wellbeing/api.py b/custom_components/wellbeing/api.py index 8563599..f3ec819 100644 --- a/custom_components/wellbeing/api.py +++ b/custom_components/wellbeing/api.py @@ -207,7 +207,7 @@ def _create_entities(data): device_class=SensorDeviceClass.ENUM, ), ApplianceVacuum( - name="Vacuum", + name=data.get("applianceName","Vacuum"), attr="robotStatus", ), ]