Three tokens describe the drying cycle these boards run after cooling, and the switch only covered the first. AutocleanProgress_ is how far a running cycle has got, and StopAutoClean_ is a channel for ending one early -- its presence is what says the appliance accepts that at all, which is how the appliance's own app gates its stop button. Both tokens are reported by the ARTIK051_KRAC_18K that issue #136 was about, and by every KRAC fixture here. The percentage scale is the app's own: it renders the token into a `<progress max="100">` with a "{{value}}%" label beside it. An idle unit reports 1 rather than 0 -- the same floor the laundry firmware's progressPercentage sits at when Ready -- so 0-vs-1 is not a reliable "is it running" test, and the button is deliberately not gated on it. The sensor shares AUTO_CLEAN's catalog entry the way auto_clean_legacy already shares the switch's: same figure, different board generation, distinct key so nothing collides if a board ever reported both. Stacked on #289 (this branch is cut from it) -- rebase or merge that first.
30 lines
615 B
JSON
30 lines
615 B
JSON
{
|
|
"state_keys": [
|
|
"alarm_code",
|
|
"auto_clean_legacy",
|
|
"auto_clean_progress_legacy",
|
|
"beep",
|
|
"clean_level",
|
|
"climate",
|
|
"current_temperature_c",
|
|
"diagnosis_status",
|
|
"dust",
|
|
"energy_kwh",
|
|
"fine_dust",
|
|
"good_sleep",
|
|
"humidity",
|
|
"odor",
|
|
"power_energy_kwh",
|
|
"power_watts",
|
|
"super_fine_dust",
|
|
"subdevice1_alarm_code",
|
|
"subdevice1_auto_clean_legacy",
|
|
"subdevice1_auto_clean_progress_legacy",
|
|
"subdevice1_beep",
|
|
"subdevice1_climate",
|
|
"subdevice1_current_temperature_c",
|
|
"subdevice1_good_sleep",
|
|
"subdevice1_humidity"
|
|
]
|
|
}
|