File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
custom_components/plugwise-beta Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,8 @@ def device_state_attributes(self):
168168 """Return the device specific state attributes."""
169169 attributes = {}
170170 if self ._schema_names :
171- attributes ["available_schemas" ] = self ._schema_names
171+ if len (self ._schema_names ) > 1 :
172+ attributes ["available_schemas" ] = self ._schema_names
172173 if self ._selected_schema :
173174 attributes ["selected_schema" ] = self ._selected_schema
174175 return attributes
Original file line number Diff line number Diff line change 22 "domain" : " plugwise-beta" ,
33 "name" : " Plugwise Beta for Home Assistant" ,
44 "documentation" : " https://github.com/plugwise/plugwise-beta" ,
5- "requirements" : [" Plugwise_Smile==0.2.7 " ],
5+ "requirements" : [" Plugwise_Smile==0.2.9 " ],
66 "dependencies" : [],
77 "codeowners" : [" @CoMPaTech" ," @bouwew" ],
88 "config_flow" : true
You can’t perform that action at this time.
0 commit comments