`/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).
22 lines
403 B
JSON
22 lines
403 B
JSON
{
|
|
"state_keys": [
|
|
"air_filter_status",
|
|
"air_filter_threshold",
|
|
"air_filter_usage",
|
|
"air_filter_usage_hours",
|
|
"alarm_code",
|
|
"auto_clean",
|
|
"auto_clean_progress",
|
|
"auto_clean_running",
|
|
"energy_kwh",
|
|
"energy_saved_kwh",
|
|
"firmware_update",
|
|
"humidity",
|
|
"mute_once",
|
|
"operating_mode",
|
|
"power_switch",
|
|
"power_watts",
|
|
"target_humidity"
|
|
]
|
|
}
|