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