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