mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 17:48:26 +00:00
Fix bug when interpreting miele action response (#149710)
This commit is contained in:
parent
f9e7459901
commit
7a55373b0b
@ -203,7 +203,7 @@ async def get_programs(call: ServiceCall) -> ServiceResponse:
|
|||||||
else {}
|
else {}
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
if item["parameters"]
|
if item.get("parameters")
|
||||||
else {}
|
else {}
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
@ -30,5 +30,9 @@
|
|||||||
"mandatory": true
|
"mandatory": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"programId": 24000,
|
||||||
|
"program": "Ristretto"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -43,6 +43,12 @@
|
|||||||
'program': 'Fan plus',
|
'program': 'Fan plus',
|
||||||
'program_id': 13,
|
'program_id': 13,
|
||||||
}),
|
}),
|
||||||
|
dict({
|
||||||
|
'parameters': dict({
|
||||||
|
}),
|
||||||
|
'program': 'Ristretto',
|
||||||
|
'program_id': 24000,
|
||||||
|
}),
|
||||||
]),
|
]),
|
||||||
})
|
})
|
||||||
# ---
|
# ---
|
||||||
|
Loading…
x
Reference in New Issue
Block a user