Fix Plugwise schema name display and non_device_class icons (#36815)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com> Co-authored-by: Bouwe Westerdijk <11290930+bouwew@users.noreply.github.com>
This commit is contained in:
2 files changed
+12
-2
No files matched your search
@@ -122,8 +122,7 @@ class PwThermostat(SmileGateway, ClimateEntity):
|
||||
"""Return the device specific state attributes."""
|
||||
attributes = {}
|
||||
if self._schema_names:
|
||||
if len(self._schema_names) > 1:
|
||||
attributes["available_schemas"] = self._schema_names
|
||||
attributes["available_schemas"] = self._schema_names
|
||||
if self._selected_schema:
|
||||
attributes["selected_schema"] = self._selected_schema
|
||||
return attributes
|
||||
|
||||
Reference in new issue
Block a user