mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 02:07:09 +00:00
Remove hidden property from egardia integration (#30728)
This commit is contained in:
parent
3df329b8ec
commit
c8a52d4566
@ -64,12 +64,6 @@ class EgardiaBinarySensor(BinarySensorDevice):
|
|||||||
"""Whether the device is switched on."""
|
"""Whether the device is switched on."""
|
||||||
return self._state == STATE_ON
|
return self._state == STATE_ON
|
||||||
|
|
||||||
@property
|
|
||||||
def hidden(self):
|
|
||||||
"""Whether the device is hidden by default."""
|
|
||||||
# these type of sensors are probably mainly used for automations
|
|
||||||
return True
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def device_class(self):
|
def device_class(self):
|
||||||
"""Return the device class."""
|
"""Return the device class."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user