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

ESPHome select for assist pipeline selection (#91526)

* ESPHome: Add assist pipeline select entity

* Add translation strings

* Tests
This commit is contained in:
Jesse Hills
2023-04-18 14:22:11 +12:00
committed by GitHub
parent ef7e3e27ba
commit aeb19831d2
7 changed files with 87 additions and 32 deletions

View File

@@ -0,0 +1,15 @@
"""Test ESPHome selects."""
from homeassistant.core import HomeAssistant
async def test_pipeline_selector(
hass: HomeAssistant,
mock_voice_assistant_v1_entry,
) -> None:
"""Test assist pipeline selector."""
state = hass.states.get("select.test_assist_pipeline")
assert state is not None
assert state.state == "preferred"