Skip to content

Commit

Permalink
Airfreshener: Instant Home Assistant update at spray counter reset
Browse files Browse the repository at this point in the history
  • Loading branch information
CDaxi committed Jan 31, 2023
1 parent ec48e7c commit 91c1629
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions airfreshener/airfreshener.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ button:
- number.set:
id: spray_counter
value: 0
- component.update: spray_counter
- component.update: spray_counter_template

script:
- id: do_spray
Expand Down

0 comments on commit 91c1629

Please sign in to comment.