@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