GetMe Class
- class tadoasync.models.GetMe(name: str, email: str, id: str, username: str, locale: str, homes: list[tadoasync.models.Home])
Bases:
DataClassORJSONMixinGetMe model represents the user’s profile information.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- homes: list[tadoasync.models.Home]
- to_dict()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
Home Class
- class tadoasync.models.Home(id: int, name: str)
Bases:
DataClassORJSONMixinHome model represents the user’s home information.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
DeviceMetadata Class
- class tadoasync.models.DeviceMetadata(platform: str, os_version: str, model: str, locale: str)
Bases:
DataClassORJSONMixinDeviceMetadata model represents the metadata of a device.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
MobileDevice Class
- class tadoasync.models.MobileDevice(name: str, id: int, device_meta_data: DeviceMetadata, settings: MobileSettings, location: MobileLocation | None = None)
Bases:
DataClassORJSONMixinMobileDevice model represents the user’s mobile device information.
- device_meta_data: DeviceMetadata
- classmethod from_dict(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- location: MobileLocation | None = None
- settings: MobileSettings
- to_dict()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
MobileLocation Class
- class tadoasync.models.MobileLocation(stale: bool, at_home: bool, bearing_from_home: MobileBearingFromHome, relative_distance_from_home_fence: float)
Bases:
DataClassORJSONMixinMobileLocation model represents the user’s mobile device location.
- bearing_from_home: MobileBearingFromHome
- classmethod from_dict(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
MobileBearingFromHome Class
- class tadoasync.models.MobileBearingFromHome(degrees: float, radians: float)
Bases:
DataClassORJSONMixinMobileBearingFromHome model represents the bearing from home.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
MobileSettings Class
- class tadoasync.models.MobileSettings(geo_tracking_enabled: bool, special_offers_enabled: bool, on_demand_log_retrieval_enabled: bool)
Bases:
DataClassORJSONMixinMobileSettings model represents the user’s mobile device settings.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
ConnectionState Class
- class tadoasync.models.ConnectionState(value: bool, timestamp: str)
Bases:
DataClassORJSONMixinConnectionState model represents the connection state of a device.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
Characteristics Class
- class tadoasync.models.Characteristics(capabilities: list[str])
Bases:
DataClassORJSONMixinCharacteristics model represents the capabilities of a device.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
MountingState Class
- class tadoasync.models.MountingState(value: str, timestamp: str)
Bases:
DataClassORJSONMixinMountingState model represents the mounting state of a device.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
Device Class
- class tadoasync.models.Device(device_type: str, serial_no: str, short_serial_no: str, current_fw_version: str, connection_state: ConnectionState, characteristics: Characteristics, in_pairing_mode: bool | None = None, mounting_state: MountingState | None = None, mounting_state_with_error: str | None = None, battery_state: str | None = None, orientation: str | None = None, child_lock_enabled: bool | None = None)
Bases:
DataClassORJSONMixinDevice model represents a device in a zone.
- characteristics: Characteristics
- connection_state: ConnectionState
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- mounting_state: MountingState | None = None
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
DazzleMode Class
- class tadoasync.models.DazzleMode(supported: bool, enabled: bool = False)
Bases:
DataClassORJSONMixinDazzleMode model represents the dazzle mode settings of a zone.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
OpenWindowDetection Class
- class tadoasync.models.OpenWindowDetection(supported: bool, enabled: bool = False, timeout_in_seconds: int = 0)
Bases:
DataClassORJSONMixinOpenWindowDetection model represents the open window detection settings.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
Zone Class
- class tadoasync.models.Zone(id: int, name: str, type: str, date_created: str, device_types: list[str], devices: list[tadoasync.models.Device], dazzle_mode: DazzleMode | None = None, open_window_detection: OpenWindowDetection | None = None, report_available: bool = False, show_schedule_setup: bool = False, supports_dazzle: bool = False, dazzle_enabled: bool = False)
Bases:
DataClassORJSONMixinZone model represents a zone in a home.
- dazzle_mode: DazzleMode | None = None
- devices: list[tadoasync.models.Device]
- classmethod from_dict(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- open_window_detection: OpenWindowDetection | None = None
- to_dict()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
Precision Class
- class tadoasync.models.Precision(celsius: float, fahrenheit: float)
Bases:
DataClassORJSONMixinPrecision model represents the precision of a temperature.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
InsideTemperature Class
- class tadoasync.models.InsideTemperature(celsius: float, fahrenheit: float, precision: Precision, type: str | None = None, timestamp: str | None = None)
Bases:
DataClassORJSONMixinInsideTemperature model represents the temperature in Celsius and Fahrenheit.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
Temperature Class
- class tadoasync.models.Temperature(celsius: float, fahrenheit: float, type: str | None = None, timestamp: str | None = None)
Bases:
DataClassORJSONMixinTemperature model represents the temperature in Celsius and Fahrenheit.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
SolarIntensity Class
- class tadoasync.models.SolarIntensity(percentage: float, timestamp: str, type: str)
Bases:
DataClassORJSONMixinSolarIntensity model represents the solar intensity.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
WeatherState Class
- class tadoasync.models.WeatherState(timestamp: str, type: str, value: str)
Bases:
DataClassORJSONMixinWeatherState model represents the weather state.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
Weather Class
- class tadoasync.models.Weather(outside_temperature: Temperature, solar_intensity: SolarIntensity, weather_state: WeatherState)
Bases:
DataClassORJSONMixinWeather model represents the weather information.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- outside_temperature: Temperature
- solar_intensity: SolarIntensity
- to_dict()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
- weather_state: WeatherState
HomeState Class
- class tadoasync.models.HomeState(presence: str, presence_locked: bool, show_home_presence_switch_button: bool | None = None, show_switch_to_auto_geofencing_button: bool | None = None)
Bases:
DataClassORJSONMixinHomeState model represents the state of a home.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
TemperatureRange Class
- class tadoasync.models.TemperatureRange(min: float, max: float, step: float)
Bases:
DataClassORJSONMixinTemperatureRange model represents the range of a temperature.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
Temperatures Class
- class tadoasync.models.Temperatures(celsius: TemperatureRange, fahrenheit: TemperatureRange)
Bases:
DataClassORJSONMixinTemperatures model represents the temperatures in Celsius and Fahrenheit.
- celsius: TemperatureRange
- fahrenheit: TemperatureRange
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
Capabilities Class
- class tadoasync.models.Capabilities(type: str, temperatures: Temperatures | None = None, can_set_temperature: bool | None = None, auto: AutoAC | None = None, cool: CoolAC | None = None, dry: DryAC | None = None, fan: FanAC | None = None, heat: HeatAC | None = None)
Bases:
DataClassORJSONMixinCapabilities model represents the capabilities of a zone.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- temperatures: Temperatures | None = None
- to_dict()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
TemperatureOffset Class
- class tadoasync.models.TemperatureOffset(celsius: float, fahrenheit: float)
Bases:
DataClassORJSONMixinTemperatureOffset model represents the temperature offset.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
Setting Class
- class tadoasync.models.Setting(type: str, power: str, mode: str | None = None, temperature: Temperature | None = None, fan_speed: str | None = None, fan_level: str | None = None, swing: str | None = None, vertical_swing: str | None = None, horizontal_swing: str | None = None)
Bases:
DataClassORJSONMixinTemperatureSetting model represents the temperature setting.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- temperature: Temperature | None = None
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
Overlay Class
- class tadoasync.models.Overlay(type: str, setting: Setting, termination: Termination | None = None, projected_expiry: str | None = None)
Bases:
DataClassORJSONMixinOverlay model represents the overlay settings of a zone.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- termination: Termination | None = None
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
Termination Class
- class tadoasync.models.Termination(type: str, type_skill_based_app: str | None = None, projected_expiry: str | None = None)
Bases:
DataClassORJSONMixinTermination model represents the termination settings of a zone.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
NextScheduleChange Class
- class tadoasync.models.NextScheduleChange(start: str, setting: Setting)
Bases:
DataClassORJSONMixinNextScheduleChange model represents the next schedule change.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
Link Class
- class tadoasync.models.Link(state: str)
Bases:
DataClassORJSONMixinLink model represents the link of a zone.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
HeatingPower Class
- class tadoasync.models.HeatingPower(type: str, percentage: float, timestamp: str, value: str | None = None)
Bases:
DataClassORJSONMixinHeatingPower model represents the heating power.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
AcPower Class
- class tadoasync.models.AcPower(type: str, timestamp: str, value: str)
Bases:
DataClassORJSONMixinAcPower model represents the AC power.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
Humidity Class
- class tadoasync.models.Humidity(type: str, percentage: float, timestamp: str)
Bases:
DataClassORJSONMixinHumidity model represents the humidity.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
SensorDataPoints Class
- class tadoasync.models.SensorDataPoints(inside_temperature: InsideTemperature, humidity: Humidity)
Bases:
DataClassORJSONMixinSensorDataPoints model represents the sensor data points.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- inside_temperature: InsideTemperature
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
ZoneState Class
- class tadoasync.models.ZoneState(setting: Setting, link: Link, activity_data_points: ActivityDataPoints, tado_mode: str, geolocation_override: bool, overlay_type: str, next_time_block: dict[str, str], sensor_data_points: SensorDataPoints | None, overlay: Overlay | None = None, geolocation_override_disable_time: str | None = None, open_window: OpenWindow | None = None, next_schedule_change: NextScheduleChange | None = None, termination_condition: TerminationCondition | None = None, current_temp: float | None = None, current_temp_timestamp: str | None = None, current_humidity: float | None = None, current_humidity_timestamp: str | None = None, target_temp: float | None = None, precision: float | None = None, current_hvac_action: str | None = None, current_hvac_mode: str | None = None, current_fan_speed: str | None = None, current_fan_level: str | None = None, current_swing_mode: str | None = None, current_vertical_swing_mode: str | None = None, current_horizontal_swing_mode: str | None = None, connection: str | None = None, available: bool = False, power: str | None = None, ac_power: str | None = None, heating_power: str | None = None, ac_power_timestamp: str | None = None, heating_power_timestamp: str | None = None, heating_power_percentage: float | None = None, overlay_active: bool | None = None, overlay_termination_type: str | None = None, overlay_termination_timestamp: str | None = None, default_overlay_termination_type: str | None = None, default_overlay_termination_duration: int | None = None, preparation: bool | None = None, open_window_detected: bool | None = None, open_window_attr: OpenWindow | None = None, is_away: bool = False)
Bases:
DataClassORJSONMixinZoneState model represents the state of a zone.
- activity_data_points: ActivityDataPoints
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- next_schedule_change: NextScheduleChange | None = None
- open_window: OpenWindow | None = None
- open_window_attr: OpenWindow | None = None
- sensor_data_points: SensorDataPoints | None
- termination_condition: TerminationCondition | None = None
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
OpenWindow Class
- class tadoasync.models.OpenWindow(detected_time: str, duration_in_seconds: int, expiry: str, remaining_time_in_seconds: int)
Bases:
DataClassORJSONMixinOpenWindow model represents the open window settings of a zone.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
TerminationCondition Class
- class tadoasync.models.TerminationCondition(type: str | None = None, duration_in_seconds: int | None = None)
Bases:
DataClassORJSONMixinTerminationCondition model represents the termination condition.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
ActivityDataPoints Class
- class tadoasync.models.ActivityDataPoints(ac_power: AcPower | None = None, heating_power: HeatingPower | None = None)
Bases:
DataClassORJSONMixinActivityDataPoints model represents the activity data points.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_dict_json(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- heating_power: HeatingPower | None = None
- to_dict()
- to_dict_jsonb()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
ZoneStates Class
- class tadoasync.models.ZoneStates(zone_states: dict[str, tadoasync.models.ZoneState])
Bases:
DataClassORJSONMixinZoneStates model represents the states of the zones.
- classmethod from_dict(d, *, dialect=None)
- classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
- to_dict()
- to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
- zone_states: dict[str, tadoasync.models.ZoneState]