Skip to content

v0.3.11 - Machine Status sensor

Choose a tag to compare

@actabi actabi released this 07 Jun 19:12

Added

"Machine Status" sensor 📊 - the machine's operational state (standby, waking_up, ready, rinsing, dispensing_hot_water, ...) decoded from the d302_monitor_machine monitor blob the machine already publishes, with progress/action/accessory as attributes.

Contributed by @TischenkoArseny (cherry-picked from PR #5), derived from the DlghIoT client by Matthieu Guerquin-Kern.

Parsing is defensive: a blob that doesn't decode on a given model yields an unknown state with the parse error as attribute, and can never break the data update.

Changed

  • Buttons/services use ACTION_START/ACTION_STOP constants; the raw-command service goes through coordinator.async_send_raw (also from PR #5).

54 tests pass. No command-path behaviour change - wake, standby and beverage paths are untouched.