hello everyone,
today i modified one automation, just time and i started to see this error in logs
Check: automation->action->0->mode. (See ?, line ?).
my automation.yaml file in config folder is empty, i use it only if need to configure automation using front end
my automation.yaml is actually located in config > integrations > automation.yaml
content of automation.yaml is
my automation files are located in config/automations then i have various subfolders for areas. Thats how i organize my automations
my configuration.yaml is containing this entry: packages: !include_dir_named integrations
any idea what is causing this error:
2021-01-29 09:33:18 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: [mode] is an invalid option for [automation]. Check: automation->action->0->mode. (See ?, line ?).
Any idea what i am doing wrong & whats causing this error. Please let me know if you need additional info. So far all automations are working fine
OMG, Thank you! that was too easy and i spent hours troubleshooting and checking my “folder” structure and pointers.
Sigh, i disabled my last modified automation via last_automation.yaml.disable, reloaded HA and error went away. Now i need to figure out whats wrong with my syntax.
any idea whats wrong with my syntax:
id: cvo_on_on_workdays
alias: cvo_on on workdays
trigger:
- at: 07:45:00
platform: time
condition:
condition: state
entity_id: 'binary_sensor.workday_sensor'
state: 'on'
action:
- data:
entity_id:
- switch.aeon_labs_dsc06106_smart_energy_switch
- switch.zooz_zen20_v2_0_power_strip_switch_2
- switch.zooz_zen20_v2_0_power_strip_switch_3
- switch.zooz_zen20_v2_0_power_strip_switch_5
service: switch.turn_on
mode: single