Same issue here, HA 2020.12.0 (via docker). I can create an automation from a blueprint, I see it in get added to automations.yaml, but nothing is visible in the Automations UI. I just upgraded to 2020.12.1, and during startup I see the exception below. It looks like for one item in the blueprint, I hit “Add Action” and then removed the action, but it was stored with empty values in automations.yaml:
flipped_face_1:
- device_id: ''
domain: ''
entity_id: ''
This causes automations to be unhappy (below exception). Once I removed the blank bits, it shows up in Automations as expected. This might be a different issue than what @appels is seeing though, because I don’t see any invalid/empty fields in the blueprint automation.
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 81, in async_get_device_automation_platform
integration = await async_get_integration_with_requirements(hass, domain)
File "/usr/src/homeassistant/homeassistant/requirements.py", line 47, in async_get_integration_with_requirements
integration = await async_get_integration(hass, domain)
File "/usr/src/homeassistant/homeassistant/loader.py", line 491, in async_get_integration
raise IntegrationNotFound(domain)
homeassistant.loader.IntegrationNotFound: Integration '' not found.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 213, in _async_setup_component
result = await task
File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 169, in async_setup
if not await _async_process_config(hass, config, component):
File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 512, in _async_process_config
await async_validate_config_item(
File "/usr/src/homeassistant/homeassistant/components/automation/config.py", line 74, in async_validate_config_item
config
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 143, in async_validate_actions_config
return await asyncio.gather(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 187, in async_validate_action_config
choose_conf
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 143, in async_validate_actions_config
return await asyncio.gather(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 158, in async_validate_action_config
platform = await device_automation.async_get_device_automation_platform(
File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 84, in async_get_device_automation_platform
raise InvalidDeviceAutomationConfig(
homeassistant.components.device_automation.exceptions.InvalidDeviceAutomationConfig: Integration '' not found