Change Tuya covers to prefer set_position instead of instruction_wrapper (#160526)

This commit is contained in:
azerty9971
2026-01-09 14:31:31 +01:00
committed by GitHub
parent 9d8dc9ec06
commit 1829452ef1
2 changed files with 16 additions and 16 deletions
+4 -4
View File
@@ -61,14 +61,14 @@ async def test_platform_setup_and_discovery(
SERVICE_OPEN_COVER,
{},
[
{"code": "control", "value": "open"},
{"code": "percent_control", "value": 0},
],
),
(
SERVICE_CLOSE_COVER,
{},
[
{"code": "control", "value": "close"},
{"code": "percent_control", "value": 100},
],
),
(
@@ -226,7 +226,7 @@ async def test_clkg_wltqkykhni0papzj_state(
SERVICE_OPEN_COVER,
{},
[
{"code": "control", "value": "open"},
{"code": "percent_control", "value": 100},
],
),
(
@@ -240,7 +240,7 @@ async def test_clkg_wltqkykhni0papzj_state(
SERVICE_CLOSE_COVER,
{},
[
{"code": "control", "value": "close"},
{"code": "percent_control", "value": 0},
],
),
],