Closed suleimant closed 4 years ago
line 282 onwards: if(hvac_mode == HVAC_MODE_OFF): await self.async_set_data({self.acx:{"zones":{"state":MYAIR_ZONE_CLOSE}}}) else: await self.async_set_data({self.acx:{"zones":{"state":MYAIR_ZONE_OPEN}}})
should read if(hvac_mode == HVAC_MODE_OFF): await self.async_set_data({self.acx:{"zones":self.zx:{{"state":MYAIR_ZONE_CLOSE}}}}) else: await self.async_set_data({self.acx:{"zones":self.zx:{{"state":MYAIR_ZONE_OPEN}}}})
Made the change on my local copy and then works :)
Thanks for picking this up, I have pushed this change along with some other changes I was working on last night.
line 282 onwards: if(hvac_mode == HVAC_MODE_OFF): await self.async_set_data({self.acx:{"zones":{"state":MYAIR_ZONE_CLOSE}}}) else: await self.async_set_data({self.acx:{"zones":{"state":MYAIR_ZONE_OPEN}}})
should read if(hvac_mode == HVAC_MODE_OFF): await self.async_set_data({self.acx:{"zones":self.zx:{{"state":MYAIR_ZONE_CLOSE}}}}) else: await self.async_set_data({self.acx:{"zones":self.zx:{{"state":MYAIR_ZONE_OPEN}}}})
Made the change on my local copy and then works :)