mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 09:38:21 +00:00
Strip leading and trailing whitespace in program names in miele action response (#149643)
This commit is contained in:
parent
73e578b168
commit
45ae34cc0e
@ -126,7 +126,7 @@ async def get_programs(call: ServiceCall) -> ServiceResponse:
|
|||||||
"programs": [
|
"programs": [
|
||||||
{
|
{
|
||||||
"program_id": item["programId"],
|
"program_id": item["programId"],
|
||||||
"program": item["program"],
|
"program": item["program"].strip(),
|
||||||
"parameters": (
|
"parameters": (
|
||||||
{
|
{
|
||||||
"temperature": (
|
"temperature": (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user