Ovens with modelNum like TP1X_DA-KS-OVEN-0107X report no oneUiVersion and don't match any consumer-prefix or other fallback token in for_device_by_model, so the device came back as "unknown" and every resource fell through to the global capability registry instead of oven.py's own -- explaining the unbound /connected/vs/0 href, the unrelated-looking entities, and the non-functional controls reported in the issue. Add a '-OVEN-' modelNum token fallback, mirroring the existing '-RANGE-' fallback from issue #44.
26 lines
444 B
JSON
26 lines
444 B
JSON
{
|
|
"state_keys": [
|
|
"alarm_code",
|
|
"child_lock",
|
|
"cloud_connected",
|
|
"cook_time",
|
|
"current_temp_c",
|
|
"cycle_active",
|
|
"door_open",
|
|
"fast_preheat",
|
|
"finish_time",
|
|
"firmware_update",
|
|
"lamp",
|
|
"machine_state",
|
|
"natural_steam",
|
|
"operation_time_minutes",
|
|
"oven_mode",
|
|
"oven_setpoint",
|
|
"oven_state",
|
|
"power_switch",
|
|
"progress_percentage",
|
|
"remote_control",
|
|
"sound"
|
|
]
|
|
}
|