Issue #40: /energy/ailevel/vs/0 was unbound on a plain washer. The capability already existed for fridges but was gated off entirely on single-level hardware (the common case), so it's moved to common.py (cross-family, like fridge + washer now) and split into two entities: a switch when supportedAiLevel has exactly one entry (aiLevel is really just an on/off toggle there), and a select otherwise, with '0' (off) synthesized back into the select's options since supportedAiLevel never lists it but it's a real observed value. Also drops the translation_key/strings.json entries -- aiLevel's raw digit values already render fine untranslated, and translating a handful of levels can't cover devices with more.
34 lines
645 B
JSON
34 lines
645 B
JSON
{
|
|
"state_keys": [
|
|
"ai_energy_level",
|
|
"alarm_code",
|
|
"bubble_soak",
|
|
"buzzer_sound",
|
|
"child_lock",
|
|
"cycle",
|
|
"cycle_active",
|
|
"delay_start_hours",
|
|
"detergent_low",
|
|
"diagnosis_status",
|
|
"drum_clean_cycles_remaining",
|
|
"drum_clean_last_cleaned",
|
|
"energy_kwh",
|
|
"energy_saved_kwh",
|
|
"finish_time",
|
|
"firmware_update",
|
|
"intensive",
|
|
"job_beginning_status",
|
|
"machine_state",
|
|
"power_switch",
|
|
"pre_wash",
|
|
"progress",
|
|
"progress_percentage",
|
|
"remote_control",
|
|
"rinse_cycles",
|
|
"softener_low",
|
|
"spin_speed",
|
|
"wash_temperature",
|
|
"water_liters"
|
|
]
|
|
}
|