mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 17:57:55 +00:00
Convert valve position to int for Shelly BLU TRV (#136912)
This commit is contained in:
parent
76570b5144
commit
1c4ddb36d5
@ -208,7 +208,7 @@ RPC_NUMBERS: Final = {
|
||||
method_params_fn=lambda idx, value: {
|
||||
"id": idx,
|
||||
"method": "Trv.SetPosition",
|
||||
"params": {"id": 0, "pos": value},
|
||||
"params": {"id": 0, "pos": int(value)},
|
||||
},
|
||||
removal_condition=lambda config, _status, key: config[key].get("enable", True)
|
||||
is True,
|
||||
|
Loading…
x
Reference in New Issue
Block a user