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