This newer board family reports fan modes (Smart/Max/Mid/WindFree/Sleep) directly on /mode/vs/0's top-level modes/supportedModes fields, unlike the older ARTIK051_TVTL family this registry already supported, which packs everything into an options[] array with no usable fan-speed selector at all (see the module docstring's Comode_Off finding). Both board generations share the /mode/vs/0 href, so the existing MODE capability and a new FAN capability are discriminated by a match_fn checking for the top-level supportedModes field, rather than adding a new device type. The fan entity only exposes PRESET_MODE, not an ordered percentage -- WindFree/Smart/Sleep are named behaviors, not "faster/slower" positions relative to Max/Mid, matching how the AC family's own named convenient modes are modeled as a preset rather than a speed number. Also picked up the rest of this board's previously-unbound hrefs while in there (display, HEPA filter, panel status, pet-filter mode, sound settings), reusing airconditioner.DISPLAY_LIGHT and airconditioner.MUTE_ONCE for the two hrefs identical to the shared DA-AC- board family, since the "incomplete capability coverage" repair was firing on more than just the fan gap the issue described.
27 lines
471 B
JSON
27 lines
471 B
JSON
{
|
|
"state_keys": [
|
|
"alarm_code",
|
|
"child_lock",
|
|
"clean_level",
|
|
"device_active",
|
|
"display",
|
|
"display_light",
|
|
"dust",
|
|
"energy_kwh",
|
|
"energy_saved_kwh",
|
|
"fan",
|
|
"fine_dust",
|
|
"firmware_update",
|
|
"hepa_filter_status",
|
|
"hepa_filter_usage",
|
|
"mute_once",
|
|
"odor",
|
|
"panel_status",
|
|
"pet_filter_activation",
|
|
"power_switch",
|
|
"sound_mode",
|
|
"sound_output",
|
|
"sound_volume",
|
|
"super_fine_dust"
|
|
]
|
|
} |