mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +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
|
@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. """
|
||||||
|
Loading…
x
Reference in New Issue
Block a user