Skip to content
Snippets Groups Projects
Commit da4cf61a authored by Ryan Kraus's avatar Ryan Kraus
Browse files

Forced the isy994 component to treat underscores as spaces.

parent 6b2dd69b
No related branches found
No related tags found
No related merge requests found
...@@ -156,7 +156,8 @@ class ISYDeviceABC(ToggleEntity): ...@@ -156,7 +156,8 @@ class ISYDeviceABC(ToggleEntity):
@property @property
def name(self): def name(self):
""" Returns the cleaned name of the node. """ """ 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): def update(self):
""" Update state of the sensor. """ """ Update state of the sensor. """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment