1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Use a single WS command for group preview (#98903)

* Use a single WS command for group preview

* Fix tests
This commit is contained in:
Erik Montnemery
2023-08-24 11:59:24 +02:00
committed by GitHub
parent 31a8a62165
commit d282ba6bac
8 changed files with 102 additions and 123 deletions

View File

@@ -3962,9 +3962,8 @@ async def test_preview_supported(
"""Mock Reauth."""
return self.async_show_form(step_id="next", preview="test")
@callback
@staticmethod
def async_setup_preview(hass: HomeAssistant) -> None:
async def async_setup_preview(hass: HomeAssistant) -> None:
"""Set up preview."""
preview_calls.append(None)