mirror of
https://github.com/home-assistant/core.git
synced 2026-09-26 09:23:17 -04:00
Forced the isy994 component to treat underscores as spaces.
This commit is contained in:
@@ -156,7 +156,8 @@ class ISYDeviceABC(ToggleEntity):
|
||||
@property
|
||||
def name(self):
|
||||
""" Returns the cleaned name of the node. """
|
||||
return self.raw_name.replace(HIDDEN_STRING, '').strip()
|
||||
return self.raw_name.replace(HIDDEN_STRING, '').strip() \
|
||||
.replace('_', ' ')
|
||||
|
||||
def update(self):
|
||||
""" Update state of the sensor. """
|
||||
|
||||
Reference in New Issue
Block a user