Add missing dryer cycle labels for DV90DG6845LHU5 (issue #244)

Codes 51 (Eco Cotton), 53 (AI Dry+), and 4e (Self Dry) were confirmed by
the reporter selecting each program on the physical appliance and reading
back the resulting raw course code, same table (Table_03) as the existing
issue #80 confirmations.

Also fixes an import-sort lint error left over in by_type/dehumidifier.py
and a stale comment in dryer.py claiming codes 21/4c were still
unidentified when the catalog already had them.
This commit is contained in:
Marc Billow committed 2026-08-03 19:17:41 +00:00
1 parent e6d7dcddc8
commit 0cc9486ad5
8 files changed
+39 -12

No files matched your search

+12
View File
@@ -94,3 +94,15 @@ def test_st_dryercourse_is_ignored():
ignored_hrefs = {c.href for c in ignored.IGNORED}
assert "/st/dryercourse/vs/0" in ignored_hrefs
assert "/st/washercourse/vs/0" in ignored_hrefs
def test_table_03_labels_confirmed_on_dv90dg6845lhu5():
"""Issue #244: codes 51/53/4e were confirmed by selecting each program
directly on the physical DV90DG6845LHU5 and reading back the resulting
raw course code -- same verification method as issue #80's '52'/'54'/'60'
on the washer's own course table."""
from custom_components.localthings.catalog import translated_states
known = translated_states("select", "dryer_cycle_table_03")
for code in ("51", "53", "4e", "17", "21", "4c"):
assert code in known, code