Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

|My First Automation - Driving me a little nuts

$
0
0

@flipside wrote:

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

Posts: 23

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>