Skip to content

Commit f89d0c2

Browse files
committed
Revert atttibute-change after updating to Smile v0.2.12
1 parent 9250432 commit f89d0c2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

custom_components/plugwise-beta/climate.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,7 @@ def device_state_attributes(self):
161161
"""Return the device specific state attributes."""
162162
attributes = {}
163163
if self._schema_names:
164-
if len(self._schema_names) > 1:
165-
attributes["available_schemas"] = self._schema_names
164+
attributes["available_schemas"] = self._schema_names
166165
if self._selected_schema:
167166
attributes["selected_schema"] = self._selected_schema
168167
return attributes

0 commit comments

Comments
 (0)