`/option/autoclean/vs/0` carries three fields and only `settingStatus` was read.
That one says the feature is enabled, which it is whether or not the unit is
drying right now, so nothing reported an actual cycle.
settingStatus: On <- the existing auto_clean switch
status: Stop supportedStatus: [Start, Stop]
progress: 0
Adds a binary sensor for `status` and a percentage sensor for `progress`.
Measured on a TP1X_DA-AC-CAC-01001, sampling the resource every eight seconds
across a cycle: `Start` with progress 98 while it ran, then `Stop` with progress 0
the moment it finished. The percentage matches the figure the appliance shows on
its own display, checked against 55% mid-run.
Golden state keys updated for the 18 fixtures that bind AUTO_CLEAN. The change is
additive — no key was removed from any of them.
Full suite passes (1070 tests, Python 3.13 via requirements-dev.txt).
28 lines
499 B
JSON
28 lines
499 B
JSON
{
|
|
"state_keys": [
|
|
"air_filter_status",
|
|
"air_filter_usage",
|
|
"air_filter_usage_hours",
|
|
"air_purify",
|
|
"alarm_code",
|
|
"auto_clean",
|
|
"auto_clean_progress",
|
|
"auto_clean_running",
|
|
"beep",
|
|
"clean_level",
|
|
"climate",
|
|
"current_temperature_c",
|
|
"diagnosis_status",
|
|
"display_light",
|
|
"dust",
|
|
"energy_kwh",
|
|
"energy_saved_kwh",
|
|
"fine_dust",
|
|
"humidity",
|
|
"odor",
|
|
"power_watts",
|
|
"super_fine_dust",
|
|
"tropical_night_mode"
|
|
]
|
|
}
|