Skip to content

Commit 58025de

Browse files
committed
Fix
1 parent 80a4232 commit 58025de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def _add_or_update_notifications(
111111
"""Helper-function adding or updating the Plugwise notifications."""
112112
if (
113113
entity_id == self._gateway_id
114-
and (self._is_thermostat or self.smile_type == "power")
114+
and (self._is_thermostat or self.smile.type == "power")
115115
) or (
116116
"binary_sensors" in entity
117117
and "plugwise_notification" in entity["binary_sensors"]

0 commit comments

Comments
 (0)