--- | |
counter: | |
diaper_counter: | |
initial: 0 | |
step: 1 | |
icon: mdi:emoticon-poop |
--- | |
- 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