예제 #1
0
 async def set_fan_high(self):
     """Set the fan speed to high."""
     await self.send(write(main_airflow="4"))
예제 #2
0
 async def set_fan_low(self):
     """Set the fan speed to low."""
     await self.send(write(main_airflow="2"))
예제 #3
0
 async def set_fan_normal(self):
     """Set the fan speed to normal."""
     await self.send(write(main_airflow="3"))
예제 #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"))
예제 #5
0
 async def set_fan_off(self):
     """Set the fan speed to off."""
     await self.send(write(main_airflow="1"))
예제 #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"))
예제 #7
0
 async def set_auto_mode(self):
     """Set the ventilation unit in auto mode."""
     await self.send(write(mode_change_request="0"))
예제 #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"))
예제 #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"))
예제 #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"))
예제 #11
0
 async def set_manual_mode(self):
     """Set the ventilation unit in manual mode."""
     await self.send(write(mode_change_request="1"))
예제 #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)))