This commit is contained in:
epenet 2025-03-10 08:29:14 +00:00
parent ceeb2a3166
commit df8108c69c
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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