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

Could someone please help me to add an input boolean to my automation?

$
0
0

@AlanZ wrote:

i’m trying to setup a condition for an automation.

scenario:

i turn the tv on but the room is too bright --> triggers a script through an automation to close the blinds

now when i turn the tv off i want to trigger another script to set the blinds to their normal position, but only if the script to close the blinds was executed before.

- id: '1584102499872'
  alias: TV aus -> Lamellen Normalstellung
  description: ''
  trigger:
  - entity_id: media_player.samsung_ue65ks8080
    from: 'on'
    platform: state
    to: 'off'
  condition:
  - after: sunset
    condition: sun
  action:
  - data: {}
    entity_id: script.1584095780341
    service: script.turn_on
  - data: {}
    entity_id: script.1584094702423
    service: script.turn_on

Posts: 2

Participants: 2

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>