mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 00:37:53 +00:00
Forced the isy994 component to treat underscores as spaces.
This commit is contained in:
parent
6b2dd69bcb
commit
da4cf61a09
@ -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. """
|
||||
|
Loading…
x
Reference in New Issue
Block a user