File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
custom_components/midea_dehumidifier Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -79,14 +79,14 @@ async def async_setup(hass, config):
79
79
appliancesStr = ""
80
80
for a in appliances :
81
81
appliancesStr = "[id=" + a ["id" ]+ " type=" + a ["type" ]+ " name=" + a ["name" ]+ "]"
82
- if a ["onlineStatus" ] == "1" :
83
- appliancesStr += " is online,"
84
- else :
85
- appliancesStr += " is offline,"
86
- if a ["activeStatus" ] == "1" :
87
- appliancesStr += " is active.\n "
88
- else :
89
- appliancesStr += " is not active.\n "
82
+ if a ["onlineStatus" ] == "1" :
83
+ appliancesStr += " is online,"
84
+ else :
85
+ appliancesStr += " is offline,"
86
+ if a ["activeStatus" ] == "1" :
87
+ appliancesStr += " is active.\n "
88
+ else :
89
+ appliancesStr += " is not active.\n "
90
90
91
91
_LOGGER .info ("midea-dehumi: " + appliancesStr )
92
92
You can’t perform that action at this time.
0 commit comments