Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit 62b64ae

Browse files
authored
Issue #199: Set the default quick veto duration in minutes for multimatic and sensoApp (#200)
1 parent 0b430e0 commit 62b64ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

custom_components/multimatic/coordinator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,8 @@ async def set_room_target_temperature(self, entity, target_temp):
223223
if current_mode == OperatingModes.QUICK_VETO:
224224
await self._manager.remove_room_quick_veto(room.id)
225225

226-
qveto = QuickVeto(self._default_quick_veto_duration(), target_temp)
226+
# Quick Veto for rooms on Multimatic and SensoAPP are in minutes
227+
qveto = QuickVeto(DEFAULT_QUICK_VETO_DURATION, target_temp)
227228
await self._manager.set_room_quick_veto(room.id, qveto)
228229
room.quick_veto = qveto
229230

0 commit comments

Comments
 (0)