mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 16:57:19 +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": [
|
||||
{
|
||||
"program_id": item["programId"],
|
||||
"program": item["program"],
|
||||
"program": item["program"].strip(),
|
||||
"parameters": (
|
||||
{
|
||||
"temperature": (
|
||||
|
@ -11,7 +11,7 @@
|
||||
},
|
||||
{
|
||||
"programId": 123,
|
||||
"program": "Dark garments / Denim",
|
||||
"program": "Dark garments / Denim ",
|
||||
"parameters": {}
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user