mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Unhide SPC binary sensors by default (#30699)
This commit is contained in:
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."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user