Closed
Description
Home Assistant release (hass --version
):
0.65.5
Python release (python3 --version
):
3.6.3.
Component/platform:
core
Description of problem:
When using automations in packages in combination with a separate main automations file, the latter cannot be empty. It requires at least one dummy automation.
https://community.home-assistant.io/t/automation-editor-with-packages/18427
Expected:
Automations file can be configured and can be empty.
Problem-relevant configuration.yaml
entries and steps to reproduce:
configuration.yaml
automation: !include include/automation.yaml
Traceback (if applicable):
Error when automation.yaml is empty
Testing configuration at /config
Failed config
automation:
- Invalid config for [automation]: required key not provided @ data['action']. Got None
required key not provided @ data['trigger']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/automation/
Additional info:
To get a valid config, as a workaround, at least add this dummy automation
include/automation.yaml
- alias: 'dummy'
hide_entity: true
initial_state: false
trigger:
action:
Metadata
Assignees
Labels
No labels
Activity