Unhide SPC binary sensors by default (#30699)
This commit is contained in:
committed by
Paulus Schoutsen
parent
b585feb109
commit
96c11bc6d7
@@ -62,15 +62,8 @@ class SpcBinarySensor(BinarySensorDevice):
|
||||
@property
|
||||
def is_on(self):
|
||||
"""Whether the device is switched on."""
|
||||
|
||||
return self._zone.input == ZoneInput.OPEN
|
||||
|
||||
@property
|
||||
def hidden(self) -> bool:
|
||||
"""Whether the device is hidden by default."""
|
||||
# These type of sensors are probably mainly used for automations
|
||||
return True
|
||||
|
||||
@property
|
||||
def should_poll(self):
|
||||
"""No polling needed."""
|
||||
|
||||
Reference in New Issue
Block a user