Could someone tell me what I am missing here? The automation works fine for one or the other but not both. Do I have to create two seperate automations or is there way to include both services into the one automation?
# Front Door Open
- alias: 'FrontDoorOpen'
trigger:
- platform: state
entity_id: binary_sensor.wyzesense_77810969
to: 'on'
action:
service: tts.google_translate_say
entity_id:
- media_player.home
data:
message: 'Front Door Open'
action:
service: notify.mobile_app_stevens_iphone
data:
message: 'Front Door Open'