Skip to content

Commit 47cd1b2

Browse files
committed
Improve
1 parent 2b3ac75 commit 47cd1b2

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
@@ -151,7 +151,7 @@ def get_all_devices(self) -> None:
151151
"""
152152
# Gather all the devices and their initial data
153153
self._all_appliances()
154-
if self.smile_type == "thermostat":
154+
if self._is_thermostat:
155155
self._scan_thermostats()
156156
# Collect a list of thermostats with offset-capability
157157
self.therms_with_offset_func = (

0 commit comments

Comments
 (0)