This board routes purely via /oic/d's oic.d.airconditioner type (no board-token match) and reports several resources the sibling TP1X_DA-AC-CAC-01001 board (issue #191) left as a documented gap: - /display/vs/0, /settings/sound/output/vs/0, /settings/sound/volume/vs/0 now reuse air_purifier.py's identical-shape capabilities instead of duplicating them. - /settings/sound/mode/vs/0 gets a new airconditioner.SOUND_MODE reading the live supportedModes field, sharing laundry.py's existing voice/tone/mute translation catalog since the value vocabulary matches. - /csi/absenceclean/vs/0 and /csi/energysaving/vs/0 are new, genuinely useful controls (absence auto-clean toggle, energy-saving mode select plus its state/operatingStatus diagnostics). - /dnd/autosleep/vs/0, /outdoorsharing/vs/0, /lifestyle/survey/vs/0, /settings/sound/voice/vs/0 and /csi/information/vs/0 are ignored as plumbing/unconfirmed data with no user-actionable state. Also fixes a latent bug in air_purifier.SOUND_VOLUME: boards that report minLevel/resolution but no maxLevel (this one) would have produced a min=0/max=0 number entity instead of self-gating off. Updates test_airconditioner_cac.py's documented coverage gap now that sound_mode/sound_output/sound_volume are covered there too.
40 lines
823 B
JSON
40 lines
823 B
JSON
{
|
|
"state_keys": [
|
|
"absence_clean",
|
|
"ai_energy_level",
|
|
"air_filter_status",
|
|
"air_filter_threshold",
|
|
"air_filter_usage",
|
|
"air_filter_usage_hours",
|
|
"air_purify",
|
|
"alarm_code",
|
|
"auto_clean",
|
|
"auto_clean_progress",
|
|
"auto_clean_running",
|
|
"beep",
|
|
"climate",
|
|
"current_temperature_c",
|
|
"display",
|
|
"energy_kwh",
|
|
"energy_saved_kwh",
|
|
"energy_saving_mode",
|
|
"energy_saving_operating_status",
|
|
"energy_saving_state",
|
|
"firmware_update",
|
|
"humidity",
|
|
"mute_once",
|
|
"odor_controller_active",
|
|
"odor_controller_progress",
|
|
"power_energy_kwh",
|
|
"power_watts",
|
|
"selfcheck_error",
|
|
"selfcheck_result",
|
|
"selfcheck_status",
|
|
"sound_mode",
|
|
"sound_output",
|
|
"tropical_night_mode",
|
|
"uv_led",
|
|
"ventilation_alarm"
|
|
]
|
|
}
|