Exemplo n.º 1
0
 async def set_fan_high(self):
     """Set the fan speed to high."""
     await self.send(write(main_airflow="4"))
Exemplo n.º 2
0
 async def set_fan_low(self):
     """Set the fan speed to low."""
     await self.send(write(main_airflow="2"))
Exemplo n.º 3
0
 async def set_fan_normal(self):
     """Set the fan speed to normal."""
     await self.send(write(main_airflow="3"))
Exemplo n.º 4
0
 async def set_away_mode(self):
     """Set the ventilation unit in away mode."""
     await self.send(
         write(user_mode_away_duration=72, mode_change_request="5"))
Exemplo n.º 5
0
 async def set_fan_off(self):
     """Set the fan speed to off."""
     await self.send(write(main_airflow="1"))
Exemplo n.º 6
0
 async def set_holiday_mode(self):
     """Set the ventilation unit in holiday mode."""
     await self.send(
         write(user_mode_holiday_duration=365, mode_change_request="6"))
Exemplo n.º 7
0
 async def set_auto_mode(self):
     """Set the ventilation unit in auto mode."""
     await self.send(write(mode_change_request="0"))
Exemplo n.º 8
0
 async def set_fireplace_mode(self):
     """Set the ventilation unit in fireplace mode."""
     await self.send(
         write(user_mode_fireplace_duration=60, mode_change_request="4"))
Exemplo n.º 9
0
 async def set_refresh_mode(self):
     """Set the ventilation unit in refresh mode."""
     await self.send(
         write(user_mode_refresh_duration=240, mode_change_request="3"))
Exemplo n.º 10
0
 async def set_crowded_mode(self):
     """Set the ventilation unit in crowded mode."""
     await self.send(
         write(user_mode_crowded_duration=8, mode_change_request="2"))
Exemplo n.º 11
0
 async def set_manual_mode(self):
     """Set the ventilation unit in manual mode."""
     await self.send(write(mode_change_request="1"))
Exemplo n.º 12
0
 async def set_temperature(self, value):
     """Set the temperature of the ventilation unit."""
     await self.send(write(main_temperature_offset=int(value * 10)))