Add github copilot

Add first test ok for UnderlyingSwitch
This commit is contained in:
Jean-Marc Collin
2025-01-29 18:57:09 +00:00
parent 43904713ba
commit 22a3b646aa
3 changed files with 66 additions and 2 deletions

View File

@@ -244,7 +244,7 @@ class UnderlyingSwitch(UnderlyingEntity):
@overrides
@property
def is_inversed(self):
def is_inversed(self) -> bool:
"""Tells if the switch command should be inversed"""
return self._thermostat.is_inversed