GetMe Class

class tadoasync.models.GetMe(name: str, email: str, id: str, username: str, locale: str, homes: list[tadoasync.models.Home])

Bases: DataClassORJSONMixin

GetMe model represents the user’s profile information.

email: str
classmethod from_dict(d, *, dialect=None)
classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
homes: list[tadoasync.models.Home]
id: str
locale: str
name: str
to_dict()
to_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
username: str

Home Class

class tadoasync.models.Home(id: int, name: str)

Bases: DataClassORJSONMixin

Home model represents the user’s home information.

classmethod from_dict(d, *, dialect=None)
classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
id: int
name: str
to_dict()
to_json(**kwargs: Any) str
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: DataClassORJSONMixin

DeviceMetadata model represents the metadata of a device.

classmethod from_dict(d, *, dialect=None)
classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
locale: str
model: str
os_version: str
platform: str
to_dict()
to_json(**kwargs: Any) str
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: DataClassORJSONMixin

MobileDevice 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)
id: int
location: MobileLocation | None = None
name: str
settings: MobileSettings
to_dict()
to_json(**kwargs: Any) str
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: DataClassORJSONMixin

MobileLocation model represents the user’s mobile device location.

at_home: bool
bearing_from_home: MobileBearingFromHome
classmethod from_dict(d, *, dialect=None)
classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
relative_distance_from_home_fence: float
stale: bool
to_dict()
to_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)

MobileBearingFromHome Class

class tadoasync.models.MobileBearingFromHome(degrees: float, radians: float)

Bases: DataClassORJSONMixin

MobileBearingFromHome model represents the bearing from home.

degrees: float
classmethod from_dict(d, *, dialect=None)
classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
radians: float
to_dict()
to_json(**kwargs: Any) str
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: DataClassORJSONMixin

MobileSettings 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)
geo_tracking_enabled: bool
on_demand_log_retrieval_enabled: bool
special_offers_enabled: bool
to_dict()
to_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)

ConnectionState Class

class tadoasync.models.ConnectionState(value: bool, timestamp: str)

Bases: DataClassORJSONMixin

ConnectionState 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)
timestamp: str
to_dict()
to_dict_jsonb()
to_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
value: bool

Characteristics Class

class tadoasync.models.Characteristics(capabilities: list[str])

Bases: DataClassORJSONMixin

Characteristics model represents the capabilities of a device.

capabilities: list[str]
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_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)

MountingState Class

class tadoasync.models.MountingState(value: str, timestamp: str)

Bases: DataClassORJSONMixin

MountingState 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)
timestamp: str
to_dict()
to_dict_jsonb()
to_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
value: str

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: DataClassORJSONMixin

Device model represents a device in a zone.

battery_state: str | None = None
characteristics: Characteristics
child_lock_enabled: bool | None = None
connection_state: ConnectionState
current_fw_version: str
device_type: str
classmethod from_dict(d, *, dialect=None)
classmethod from_dict_json(d, *, dialect=None)
classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
in_pairing_mode: bool | None = None
mounting_state: MountingState | None = None
mounting_state_with_error: str | None = None
orientation: str | None = None
serial_no: str
short_serial_no: str
to_dict()
to_dict_jsonb()
to_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)

DazzleMode Class

class tadoasync.models.DazzleMode(supported: bool, enabled: bool = False)

Bases: DataClassORJSONMixin

DazzleMode model represents the dazzle mode settings of a zone.

enabled: bool = False
classmethod from_dict(d, *, dialect=None)
classmethod from_dict_json(d, *, dialect=None)
classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
supported: bool
to_dict()
to_dict_jsonb()
to_json(**kwargs: Any) str
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: DataClassORJSONMixin

OpenWindowDetection model represents the open window detection settings.

enabled: bool = False
classmethod from_dict(d, *, dialect=None)
classmethod from_dict_json(d, *, dialect=None)
classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
supported: bool
timeout_in_seconds: int = 0
to_dict()
to_dict_jsonb()
to_json(**kwargs: Any) str
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: DataClassORJSONMixin

Zone model represents a zone in a home.

date_created: str
dazzle_enabled: bool = False
dazzle_mode: DazzleMode | None = None
device_types: list[str]
devices: list[tadoasync.models.Device]
classmethod from_dict(d, *, dialect=None)
classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
id: int
name: str
open_window_detection: OpenWindowDetection | None = None
report_available: bool = False
show_schedule_setup: bool = False
supports_dazzle: bool = False
to_dict()
to_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
type: str

Precision Class

class tadoasync.models.Precision(celsius: float, fahrenheit: float)

Bases: DataClassORJSONMixin

Precision model represents the precision of a temperature.

celsius: float
fahrenheit: float
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_json(**kwargs: Any) str
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: DataClassORJSONMixin

InsideTemperature model represents the temperature in Celsius and Fahrenheit.

celsius: float
fahrenheit: float
classmethod from_dict(d, *, dialect=None)
classmethod from_dict_json(d, *, dialect=None)
classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
precision: Precision
timestamp: str | None = None
to_dict()
to_dict_jsonb()
to_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
type: str | None = None

Temperature Class

class tadoasync.models.Temperature(celsius: float, fahrenheit: float, type: str | None = None, timestamp: str | None = None)

Bases: DataClassORJSONMixin

Temperature model represents the temperature in Celsius and Fahrenheit.

celsius: float
fahrenheit: float
classmethod from_dict(d, *, dialect=None)
classmethod from_dict_json(d, *, dialect=None)
classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
timestamp: str | None = None
to_dict()
to_dict_jsonb()
to_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
type: str | None = None

SolarIntensity Class

class tadoasync.models.SolarIntensity(percentage: float, timestamp: str, type: str)

Bases: DataClassORJSONMixin

SolarIntensity 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)
percentage: float
timestamp: str
to_dict()
to_dict_jsonb()
to_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
type: str

WeatherState Class

class tadoasync.models.WeatherState(timestamp: str, type: str, value: str)

Bases: DataClassORJSONMixin

WeatherState 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)
timestamp: str
to_dict()
to_dict_jsonb()
to_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
type: str
value: str

Weather Class

class tadoasync.models.Weather(outside_temperature: Temperature, solar_intensity: SolarIntensity, weather_state: WeatherState)

Bases: DataClassORJSONMixin

Weather 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_json(**kwargs: Any) str
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: DataClassORJSONMixin

HomeState model represents the state of a home.

classmethod from_dict(d, *, dialect=None)
classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
presence: str
presence_locked: bool
show_home_presence_switch_button: bool | None = None
show_switch_to_auto_geofencing_button: bool | None = None
to_dict()
to_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)

TemperatureRange Class

class tadoasync.models.TemperatureRange(min: float, max: float, step: float)

Bases: DataClassORJSONMixin

TemperatureRange 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)
max: float
min: float
step: float
to_dict()
to_dict_jsonb()
to_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)

Temperatures Class

class tadoasync.models.Temperatures(celsius: TemperatureRange, fahrenheit: TemperatureRange)

Bases: DataClassORJSONMixin

Temperatures 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_json(**kwargs: Any) str
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: DataClassORJSONMixin

Capabilities model represents the capabilities of a zone.

auto: AutoAC | None = None
can_set_temperature: bool | None = None
cool: CoolAC | None = None
dry: DryAC | None = None
fan: FanAC | None = None
classmethod from_dict(d, *, dialect=None)
classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
heat: HeatAC | None = None
temperatures: Temperatures | None = None
to_dict()
to_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
type: str

TemperatureOffset Class

class tadoasync.models.TemperatureOffset(celsius: float, fahrenheit: float)

Bases: DataClassORJSONMixin

TemperatureOffset model represents the temperature offset.

celsius: float
fahrenheit: float
classmethod from_dict(d, *, dialect=None)
classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
to_dict()
to_json(**kwargs: Any) str
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: DataClassORJSONMixin

TemperatureSetting model represents the temperature setting.

fan_level: str | None = None
fan_speed: str | None = None
classmethod from_dict(d, *, dialect=None)
classmethod from_dict_json(d, *, dialect=None)
classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
horizontal_swing: str | None = None
mode: str | None = None
power: str
swing: str | None = None
temperature: Temperature | None = None
to_dict()
to_dict_jsonb()
to_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
type: str
vertical_swing: str | None = None

Overlay Class

class tadoasync.models.Overlay(type: str, setting: Setting, termination: Termination | None = None, projected_expiry: str | None = None)

Bases: DataClassORJSONMixin

Overlay 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)
projected_expiry: str | None = None
setting: Setting
termination: Termination | None = None
to_dict()
to_dict_jsonb()
to_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
type: str

Termination Class

class tadoasync.models.Termination(type: str, type_skill_based_app: str | None = None, projected_expiry: str | None = None)

Bases: DataClassORJSONMixin

Termination 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)
projected_expiry: str | None = None
to_dict()
to_dict_jsonb()
to_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
type: str
type_skill_based_app: str | None = None

NextScheduleChange Class

class tadoasync.models.NextScheduleChange(start: str, setting: Setting)

Bases: DataClassORJSONMixin

NextScheduleChange 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)
setting: Setting
start: str
to_dict()
to_dict_jsonb()
to_json(**kwargs: Any) str
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: DataClassORJSONMixin

HeatingPower 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)
percentage: float
timestamp: str
to_dict()
to_dict_jsonb()
to_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
type: str
value: str | None = None

AcPower Class

class tadoasync.models.AcPower(type: str, timestamp: str, value: str)

Bases: DataClassORJSONMixin

AcPower 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)
timestamp: str
to_dict()
to_dict_jsonb()
to_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
type: str
value: str

Humidity Class

class tadoasync.models.Humidity(type: str, percentage: float, timestamp: str)

Bases: DataClassORJSONMixin

Humidity 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)
percentage: float
timestamp: str
to_dict()
to_dict_jsonb()
to_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
type: str

SensorDataPoints Class

class tadoasync.models.SensorDataPoints(inside_temperature: InsideTemperature, humidity: Humidity)

Bases: DataClassORJSONMixin

SensorDataPoints 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)
humidity: Humidity
inside_temperature: InsideTemperature
to_dict()
to_dict_jsonb()
to_json(**kwargs: Any) str
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: DataClassORJSONMixin

ZoneState model represents the state of a zone.

ac_power: str | None = None
ac_power_timestamp: str | None = None
activity_data_points: ActivityDataPoints
available: bool = False
connection: str | None = None
current_fan_level: str | None = None
current_fan_speed: str | None = None
current_horizontal_swing_mode: str | None = None
current_humidity: float | None = None
current_humidity_timestamp: str | None = None
current_hvac_action: str | None = None
current_hvac_mode: str | None = None
current_swing_mode: str | None = None
current_temp: float | None = None
current_temp_timestamp: str | None = None
current_vertical_swing_mode: str | None = None
default_overlay_termination_duration: int | None = None
default_overlay_termination_type: str | None = None
classmethod from_dict(d, *, dialect=None)
classmethod from_dict_json(d, *, dialect=None)
classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
geolocation_override: bool
geolocation_override_disable_time: str | None = None
heating_power: str | None = None
heating_power_percentage: float | None = None
heating_power_timestamp: str | None = None
is_away: bool = False
next_schedule_change: NextScheduleChange | None = None
next_time_block: dict[str, str]
open_window: OpenWindow | None = None
open_window_attr: OpenWindow | None = None
open_window_detected: bool | None = None
overlay: Overlay | None = None
overlay_active: bool | None = None
overlay_termination_timestamp: str | None = None
overlay_termination_type: str | None = None
overlay_type: str
power: str | None = None
precision: float | None = None
preparation: bool | None = None
sensor_data_points: SensorDataPoints | None
setting: Setting
tado_mode: str
target_temp: float | None = None
termination_condition: TerminationCondition | None = None
to_dict()
to_dict_jsonb()
to_json(**kwargs: Any) str
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: DataClassORJSONMixin

OpenWindow model represents the open window settings of a zone.

detected_time: str
duration_in_seconds: int
expiry: str
classmethod from_dict(d, *, dialect=None)
classmethod from_dict_json(d, *, dialect=None)
classmethod from_json(d, decoder=<built-in function loads>, *, dialect=None)
remaining_time_in_seconds: int
to_dict()
to_dict_jsonb()
to_json(**kwargs: Any) str
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: DataClassORJSONMixin

TerminationCondition model represents the termination condition.

duration_in_seconds: int | None = None
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_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
type: str | None = None

ActivityDataPoints Class

class tadoasync.models.ActivityDataPoints(ac_power: AcPower | None = None, heating_power: HeatingPower | None = None)

Bases: DataClassORJSONMixin

ActivityDataPoints model represents the activity data points.

ac_power: AcPower | None = None
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_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)

ZoneStates Class

class tadoasync.models.ZoneStates(zone_states: dict[str, tadoasync.models.ZoneState])

Bases: DataClassORJSONMixin

ZoneStates 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_json(**kwargs: Any) str
to_jsonb(encoder=<built-in function dumps>, *, orjson_options=0)
zone_states: dict[str, tadoasync.models.ZoneState]