Skip to content

Commit 632a054

Browse files
committed
Improve comments
1 parent 171d0c8 commit 632a054

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugwise/data.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def _get_device_data(self, dev_id: str) -> DeviceData:
125125
self._device_data_switching_group(device, data)
126126
# Adam data
127127
self._device_data_adam(device, data)
128-
# Skip obtaining data for non primary-thermostats
128+
# Skip obtaining data for (Adam) secondary thermostats
129129
if device["dev_class"] not in ZONE_THERMOSTATS:
130130
return data
131131

@@ -164,7 +164,7 @@ def _device_data_adam(self, device: DeviceData, data: DeviceData) -> None:
164164
):
165165
data["binary_sensors"]["heating_state"] = self._heating_valves() != 0
166166

167-
# Show the allowed regulation modes and gateway_modes
167+
# Show the allowed regulation_modes and gateway_modes
168168
if device["dev_class"] == "gateway":
169169
if self._reg_allowed_modes:
170170
data["regulation_modes"] = self._reg_allowed_modes
@@ -173,7 +173,7 @@ def _device_data_adam(self, device: DeviceData, data: DeviceData) -> None:
173173
data["gateway_modes"] = self._gw_allowed_modes
174174
self._count += 1
175175

176-
# Control_state, only for Adam primary thermostats
176+
# Control_state, only available for Adam primary thermostats
177177
if device["dev_class"] in ZONE_THERMOSTATS:
178178
loc_id = device["location"]
179179
if ctrl_state := self._control_state(loc_id):

0 commit comments

Comments
 (0)