Skip to content

feat: support remote program selection for dryers via drycycle select - #285

Merged
banto6 merged 1 commit into
banto6:masterfrom
kfqkfy:master
Aug 28, 2026
Merged

feat: support remote program selection for dryers via drycycle select#285
banto6 merged 1 commit into
banto6:masterfrom
kfqkfy:master

Conversation

@kfqkfy

@kfqkfy kfqkfy commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

What

Add drycycle to _control_attrs, so dryers get an extra writable Select entity for 干燨程序 (dry cycle) — the same mechanism already used for washer/dishwasher wash modes (washprog, partitionwashstatus, runningmode).

Why

The cloud spec declares dryCycle read-only, but dryer firmware actually accepts writes — exactly like runningMode. Verified end-to-end on HGY100-F376WU1 (干衣机):

  1. Select 一键智烘 (drycycle=43) → localProgName1=OneKeyDry, dryCycle sensor reports 一键智烘, value retained (no rollback)
  2. Select 启动 (runningMode) → cycle starts, cyclePhase=自动判断负载中

This enables full remote/voice program selection (all 24 programs incl. OneKeyDry), instead of only switching programClass.

Notes

  • The extra Select is generated alongside the original read-only sensor; data_key remains drycycle.
  • Firmware ignores program writes mid-cycle (expected), so selection happens between power-on and start.

Dryer firmware accepts writes to the drycycle attribute (declared
read-only in the cloud spec, same as runningmode). Add it to
_control_attrs so a writable Select entity is generated with all
24 programs, including OneKeyDry (一键智烘).

Verified on HGY100-F376WU1: power on -> drycycle=43 (一键智烘) ->
runningMode=启动 starts the smart-dry cycle.
@banto6
banto6 merged commit 112e8d4 into banto6:master Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants