mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Fixes
This commit is contained in:
parent
ceeb2a3166
commit
df8108c69c
@ -118,7 +118,7 @@ class RaspyRFMSwitch(SwitchEntity):
|
|||||||
return self._name
|
return self._name
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def assumed_state(self):
|
def assumed_state(self) -> bool:
|
||||||
"""Return True when the current state cannot be queried."""
|
"""Return True when the current state cannot be queried."""
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ class RemoteRPiGPIOSwitch(SwitchEntity):
|
|||||||
return self._name
|
return self._name
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def assumed_state(self):
|
def assumed_state(self) -> bool:
|
||||||
"""If unable to access real state of the entity."""
|
"""If unable to access real state of the entity."""
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user