mirror of
https://github.com/esphome/esphome.git
synced 2026-09-29 16:00:23 +00:00
[core][cover] Add register_apply_action for actions that only forward values (#19469)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
"""Integration test for cover ControlAction and CoverPublishAction.
|
||||
"""Integration test for the cover.control and cover.template.publish actions.
|
||||
|
||||
Tests that cover.control and cover.template.publish automation actions
|
||||
work correctly with the single stateless apply lambda/function pointer
|
||||
@@ -22,7 +22,7 @@ async def test_cover_control_action(
|
||||
run_compiled: RunCompiledFunction,
|
||||
api_client_connected: APIClientConnectedFactory,
|
||||
) -> None:
|
||||
"""Test cover ControlAction/CoverPublishAction with constants and lambdas."""
|
||||
"""Test cover.control and cover.template.publish with constants and lambdas."""
|
||||
loop = asyncio.get_running_loop()
|
||||
async with run_compiled(yaml_config), api_client_connected() as client:
|
||||
cover_state_future: asyncio.Future[CoverState] | None = None
|
||||
|
||||
Reference in New Issue
Block a user