roborock.data.dyad.dyad_containers

 1from dataclasses import dataclass
 2
 3from ..containers import RoborockBase
 4
 5
 6@dataclass
 7class DyadProductInfo(RoborockBase):
 8    sn: str
 9    ssid: str
10    timezone: str
11    posix_timezone: str
12    ip: str
13    mac: str
14    oba: dict
15
16
17@dataclass
18class DyadSndState(RoborockBase):
19    sid_in_use: int
20    sid_version: int
21    location: str
22    bom: str
23    language: str
24
25
26@dataclass
27class DyadScheduleTask(RoborockBase):
28    """A task from the device schedule (DP 10002).
29
30    `cron` uses the device's local time. On the F25 Ultra every task had the same
31    `dp_action`, while the device ran nothing, drying, or self-clean and drying,
32    so the action that will run cannot be inferred from `dp_action`.
33    """
34
35    id: int
36    on: bool
37    cron: str
38    dp_action: dict[int, int]
39
40
41@dataclass
42class DyadOtaNfo(RoborockBase):
43    mqttOtaData: dict
@dataclass
class DyadProductInfo(roborock.data.containers.RoborockBase):
 7@dataclass
 8class DyadProductInfo(RoborockBase):
 9    sn: str
10    ssid: str
11    timezone: str
12    posix_timezone: str
13    ip: str
14    mac: str
15    oba: dict
DyadProductInfo( sn: str, ssid: str, timezone: str, posix_timezone: str, ip: str, mac: str, oba: dict)
sn: str
ssid: str
timezone: str
posix_timezone: str
ip: str
mac: str
oba: dict
@dataclass
class DyadSndState(roborock.data.containers.RoborockBase):
18@dataclass
19class DyadSndState(RoborockBase):
20    sid_in_use: int
21    sid_version: int
22    location: str
23    bom: str
24    language: str
DyadSndState( sid_in_use: int, sid_version: int, location: str, bom: str, language: str)
sid_in_use: int
sid_version: int
location: str
bom: str
language: str
@dataclass
class DyadScheduleTask(roborock.data.containers.RoborockBase):
27@dataclass
28class DyadScheduleTask(RoborockBase):
29    """A task from the device schedule (DP 10002).
30
31    `cron` uses the device's local time. On the F25 Ultra every task had the same
32    `dp_action`, while the device ran nothing, drying, or self-clean and drying,
33    so the action that will run cannot be inferred from `dp_action`.
34    """
35
36    id: int
37    on: bool
38    cron: str
39    dp_action: dict[int, int]

A task from the device schedule (DP 10002).

cron uses the device's local time. On the F25 Ultra every task had the same dp_action, while the device ran nothing, drying, or self-clean and drying, so the action that will run cannot be inferred from dp_action.

DyadScheduleTask(id: int, on: bool, cron: str, dp_action: dict[int, int])
id: int
on: bool
cron: str
dp_action: dict[int, int]
@dataclass
class DyadOtaNfo(roborock.data.containers.RoborockBase):
42@dataclass
43class DyadOtaNfo(RoborockBase):
44    mqttOtaData: dict
DyadOtaNfo(mqttOtaData: dict)
mqttOtaData: dict