mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-25 02:06:33 +01:00
Get the run mode by tag in a single place to avoid code duplication. Also raise an error if the run mode (unexpectedly) is not found.