Skip to content

Commit a2b71fe

Browse files
committed
set_temperature(): add extra guarding for Adam
1 parent 1447cbc commit a2b71fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ async def set_temperature(self, loc_id: str, items: dict[str, float]) -> None:
710710
if "setpoint" in items:
711711
setpoint = items["setpoint"]
712712

713-
if self._cooling_present:
713+
if self._cooling_present and self.smile_name != "Adam":
714714
if "setpoint_high" not in items:
715715
raise PlugwiseError(
716716
"Plugwise: failed setting temperature: no valid input provided"

0 commit comments

Comments
 (0)