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

Automation does not triggered after update to 106

$
0
0

@murmusbahnus wrote:

Hey all,

I have an automation for my Playstation 4 which changes my light based on the game I play. Since 106 this doesnt work anymore. Does someone have a clue? Here is the code:

- alias: Media Player PS4 Tekken
  trigger:
    platform: state
    entity_id: media_player.playstation_4
    from: 'idle'
    to: 'playing'
  condition:
    - condition: template
      value_template: "{{ states.media_player.playstation_4.attributes.source == 'TEKKEN 7' }}"
  action:
    - service: scene.turn_on
      data_template:
        entity_id: scene.tekken

When i manually trigger the automation everything works. Strange.

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 96121

Trending Articles



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