mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 12:08:19 +00:00
Fix switch name attribute for thinkingcleaner (#55730)
This commit is contained in:
parent
37cf295e20
commit
bd53185bed
@ -80,7 +80,7 @@ class ThinkingCleanerSwitch(SwitchEntity):
|
|||||||
self.last_lock_time = None
|
self.last_lock_time = None
|
||||||
self.graceful_state = False
|
self.graceful_state = False
|
||||||
|
|
||||||
self._attr_name = f"{tc_object} {description.name}"
|
self._attr_name = f"{tc_object.name} {description.name}"
|
||||||
|
|
||||||
def lock_update(self):
|
def lock_update(self):
|
||||||
"""Lock the update since TC clean takes some time to update."""
|
"""Lock the update since TC clean takes some time to update."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user