Skip to content

Commit 7faa696

Browse files
committed
Update comments
1 parent 0e0f480 commit 7faa696

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugwise/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def _add_or_update_notifications(
9696

9797
def _update_for_cooling(self, device: DeviceData) -> None:
9898
"""Helper-function for adding/updating various cooling-related values."""
99-
# For heating + cooling, replace setpoint with setpoint_high/_low
99+
# For Anna and heating + cooling, replace setpoint with setpoint_high/_low
100100
if (
101101
self.smile(ANNA)
102102
and self._cooling_present
@@ -330,9 +330,9 @@ def _get_device_data(self, dev_id: str) -> DeviceData:
330330

331331
# Switching groups data
332332
device_data = self._device_data_switching_group(device, device_data)
333-
# Specific, not generic Adam data
333+
# Adam data
334334
device_data = self._device_data_adam(device, device_data)
335-
# No need to obtain thermostat data when the device is not a thermostat
335+
# Skip obtaining data for non master-thermostats
336336
if device["dev_class"] not in ZONE_THERMOSTATS:
337337
return device_data
338338

0 commit comments

Comments
 (0)