mirror of
https://github.com/sususweet/midea-meiju-codec.git
synced 2025-12-22 12:27:12 +00:00
feat: add device mapping for 000K86JB. Fix #72.
This commit is contained in:
@@ -337,7 +337,7 @@ class MideaClimateEntity(MideaEntity, ClimateEntity):
|
||||
new_status = self._key_preset_modes.get(preset_mode)
|
||||
await self.async_set_attributes(new_status)
|
||||
|
||||
async def async_set_hvac_mode(self, hvac_mode: str):
|
||||
async def async_set_hvac_mode(self, hvac_mode: HVACMode):
|
||||
if self._is_central_ac:
|
||||
run_mode = self._key_hvac_modes.get(hvac_mode)
|
||||
await self.coordinator.async_send_central_ac_control(run_mode)
|
||||
|
||||
Reference in New Issue
Block a user