I created a stop where my wife picks me up from using zoning, i would like to put that into an automation, this is what i have so far, works without the second condition
Invalid config for [automation]: extra keys not allowed @ data[‘condition’][0][‘conditions’]. Got None extra keys not allowed @ data[‘condition’][0][‘weekday’]. Got None not a valid value for dictionary value @ data[‘condition’][0][‘condition’]. Got None required key not provided @ data[‘condition’][0][‘entity_id’]. Got None. (See /config/configuration.yaml, line 12). Please check the docs at https://home-assistant.io/components/automation/ Configuration invalidCHECK CONFIG
Invalid config for [automation]: extra keys not allowed @ data[‘condition’][0][‘conditions’]. Got None extra keys not allowed @ data[‘condition’][0][‘weekday’]. Got None not a valid value for dictionary value @ data[‘condition’][0][‘condition’]. Got None required key not provided @ data[‘condition’][0][‘entity_id’]. Got None. (See /config/configuration.yaml, line 12). Please check the docs at https://home-assistant.io/components/automation/
Error im getting, instead of the time i would like to be based off the zone if possible, since the time can change
remove the conditions: line and then remove 2 spaces from the template condition. Also add a - to condition: time. Make sure -condtion: time and condition: template are at the same spacing level.
Invalid config for [automation]: invalid template (TemplateSyntaxError: unexpected ‘>’) for dictionary value @ data[‘condition’][1][‘value_template’]. Got None
not a valid value for dictionary value @ data[‘condition’][1][‘condition’]. Got None
required key not provided @ data[‘condition’][1][‘entity_id’]. Got None. (See /config/configuration.yaml, line 12). Please check the docs at https://home-assistant.io/components/automation/
Didnt work, can i change the trigger for the zone?
Ideally when i arrive to the location (zone), during mon-friday i would like it to play my tts from alexa
action:
- service: notify.alexa_media
data:
target:
- media_player.everywhere
#title: "My title for Echo show"
data:
type: announce
#method: all
message: "David is at College greens. Please pick him up"
go to the states page and you can view it there. If you want it in your interface, take a look at the Lovelace documentation and add the automation to the UI.
To the OP, I think what Petro meant was “what are you expecting the “<>” symbol to accomplish in the template”?
I’m going to anticipate the answer is to be something like “not equal to”. If that’s what you expected then the correct operator is “!=” (without the quotes).