Drop dishwasher's drum_clean_last_cleaned sensor (#398)
A live dump showed DrumCleanLog_'s newest entry moving every 30-90s on its own, including well after a cycle had already finished -- it never settles on a value worth showing. drum_clean_cycles_remaining, read from separate WashingTimes_/DrumCleanProposal_ counters, is unaffected and stays wired. The washer/dryer readers this was originally built from (issues #9, #258) aren't touched -- no report of the same churn there.
This commit is contained in:
3 files changed
+18
-38
No files matched your search
@@ -14,7 +14,6 @@ from .laundry import (
|
||||
bool_option_switch,
|
||||
cycle_select,
|
||||
drum_clean_cycles_remaining,
|
||||
drum_clean_last_cleaned,
|
||||
)
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
@@ -62,9 +61,14 @@ DISHWASHER_SETTINGS = Capability(
|
||||
# #258) DrumCleanProposal_/WashingTimes_/DrumCleanLog_ tokens riding on this
|
||||
# same options[] array -- a live dump confirmed the dishwasher reports the
|
||||
# identical trio (WashingTimes_18/DrumCleanProposal_20, plus a '|'-joined
|
||||
# DrumCleanLog_ history matching the dryer's multi-entry shape), so the
|
||||
# shared laundry.drum_clean_cycles_remaining/drum_clean_last_cleaned readers
|
||||
# apply unchanged; see laundry.py for the field semantics.
|
||||
# DrumCleanLog_ history matching the dryer's multi-entry shape), so
|
||||
# laundry.drum_clean_cycles_remaining applies unchanged.
|
||||
#
|
||||
# laundry.drum_clean_last_cleaned (DrumCleanLog_'s own newest entry) is
|
||||
# deliberately NOT wired up here (issue #398): a live dishwasher dump
|
||||
# showed it moving every 30-90s on its own, including well after a cycle
|
||||
# had already finished -- unlike the washer/dryer reports this reader was
|
||||
# built from (issues #9, #258), it never settles on a value worth showing.
|
||||
|
||||
CYCLE_OPTIONS = Capability(
|
||||
href="/course/vs/0",
|
||||
@@ -82,14 +86,6 @@ CYCLE_OPTIONS = Capability(
|
||||
exists_fn=lambda rep, resources: drum_clean_cycles_remaining(rep) is not None,
|
||||
rep_fn=drum_clean_cycles_remaining,
|
||||
),
|
||||
SensorDesc(
|
||||
key="drum_clean_last_cleaned",
|
||||
device_class="timestamp",
|
||||
icon="mdi:calendar-clock",
|
||||
entity_category="diagnostic",
|
||||
exists_fn=lambda rep, resources: drum_clean_last_cleaned(rep) is not None,
|
||||
rep_fn=drum_clean_last_cleaned,
|
||||
),
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user