Skip to content

Commit

Permalink
Fix pipeline select (home-assistant#91570)
Browse files Browse the repository at this point in the history
Fix pipline select
  • Loading branch information
bramkragten authored Apr 17, 2023
1 parent c663f76 commit c6b4c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/assist_pipeline/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get_chosen_pipeline(
if state is None or state.state == OPTION_PREFERRED:
return None

pipeline_store: PipelineStorageCollection = hass.data[DOMAIN]
pipeline_store: PipelineStorageCollection = hass.data[DOMAIN].pipeline_store
return next(
(item.id for item in pipeline_store.async_items() if item.name == state.state),
None,
Expand Down

0 comments on commit c6b4c88

Please sign in to comment.