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

Automation triggers only once

$
0
0

@FlangeMonkey wrote:

Hi Guys,

So I have the following, it’s my first automation and it works. It changes my harmony to the correct outputs on my amp when Chromecast is playing. However, when I turn the Chromecast to the off state (by stopping the cast) and turn casting back on, the automation fails to execute.

Any ideas?

Thanks,

  alias: ChromeCast Living Room - Speakers - Turn on
  description: When ChromeCast Living Room is playing, turn on Harmony to Cast Audio
  trigger:
  - entity_id: media_player.living_room_speakers
    from: 'off'
    platform: state
    to: playing
  condition: []
  action:
  - device_id: 22e1bc4be6a8485d8d3a0b1914607cac
    domain: switch
    entity_id: switch.cast_audio_harmony_activity
    type: turn_on

Posts: 13

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 95414

Trending Articles



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