Last active
May 10, 2020 16:54
-
-
Save adonno/996dde9f4844e3c1ae06c555bc830c37 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
counter: | |
diaper_counter: | |
initial: 0 | |
step: 1 | |
icon: mdi:emoticon-poop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- id: '1579629145305' | |
alias: Increment diapers counter | |
description: '' | |
trigger: | |
- entity_id: binary_sensor.openclose_19 | |
from: 'on' | |
platform: state | |
to: 'off' | |
- entity_id: binary_sensor.openclose_19 | |
from: 'off' | |
platform: state | |
to: 'on' | |
condition: [] | |
action: | |
- entity_id: counter.diaper_counter | |
service: counter.increment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment