Skip to content

Instantly share code, notes, and snippets.

@adonno

adonno/diaper-counter.yaml

Last active May 10, 2020
Embed
What would you like to do?
---
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
You can’t perform that action at this time.