Skip to content

Commit

Permalink
PWN: trigger when effect updates, but not when it becomes unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
golles committed Oct 12, 2024
1 parent 422c00b commit f01d5f7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/pwn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,16 @@ automation:
alias: "Notificatie: PWN storing"
mode: single
triggers:
- trigger: state
entity_id: sensor.pwn_effect
- trigger: state
entity_id: binary_sensor.pwn_storing
conditions:
- condition: not
conditions:
- condition: state
entity_id: sensor.pwn_effect
state: unknown
actions:
- if:
- condition: state
Expand Down

0 comments on commit f01d5f7

Please sign in to comment.