Forced the isy994 component to treat underscores as spaces.
This commit is contained in:
parent
6b2dd69bcb
commit
da4cf61a09
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue