I had this working prior to an upgrade a couple weeks back. I’m on 86.1
Here is the error I get when i run Check Config,
Invalid config for [automation]: [data] is an invalid option for [automation]. Check: automation->action->0->data. (See /home/homeassistant/.homeassistant/configuration.yaml, line 114). Please check the docs at https://home-assistant.io/components/automation/
Invalid config for [automation]: expected dict for dictionary value @ data[‘action’][0][‘data’]. Got None
extra keys not allowed @ data[‘action’][0][‘volume’]. Got None. (See /home/homeassistant/.homeassistant/configuration.yaml, line 114). Please check the docs at https://home-assistant.io/components/automation/
Here is my automation, I’ve messed around with this so much it may not represent the original working automation. I may have added errors.
- id: '1548877511011'
alias: Morning Greeting
initial_state: true #added this from a message I found here, made no difference.
trigger:
- entity_id: light.motion_detector
from: 'off'
platform: state
to: 'on'
condition:
- condition: state
entity_id: device_tracker.clay
state: home
- after: '8:00'
before: '12:00'
condition: time
action:
- service: media_player.volume_set
data:
entity_id: media_player.all_speakers
volume: '5'
- service: tts.google_say
data:
message: good morning clay, have a great day
- service: automation.turn_off
data:
entity_id: automation.morning_greeting
- delay: '3:30'
- service: automation.turn_on
data:
entity_id: automation.morning_greeting
Thanks for help and support.
Clay