Hi,
I’m trying to setup an automation that triggers my Harmony to start an activity when a chromecast audio starts streaming but when i check the config i get
“Invalid config for [automation]: expected str for dictionary value @ data[‘trigger’][1][‘from’]. Got None
extra keys not allowed @ data[‘action’][0][‘activity’]. Got None. (See /config/configuration.yaml, line 21). Please check the docs at https://home-assistant.io/integrations/automation/”
I’ve been at it for the past few days but I’m at a loss, can some nice person give it the once over and give me some hints
Current automations.yaml
- id: '1578158996958'
alias: Stereo ON Chromecast stream active
description: Turn on the Living-room Stereo when chromecast audio goes active
trigger:
- entity_id: media_player.living_room
from: idle
platform: state
to: playing
- entity_id: media_player.living_room
from: off
platform: state
to: playing
action:
- entity_id: remote.living_room
service: remote.send_command
activity: stream music