Skip to content

Instantly share code, notes, and snippets.

@thorrrr
Created May 4, 2021 10:06
Show Gist options
  • Save thorrrr/7904943f4e5608e1304aad04fab1b87d to your computer and use it in GitHub Desktop.
Save thorrrr/7904943f4e5608e1304aad04fab1b87d to your computer and use it in GitHub Desktop.
Created with Copy to Gist
alias: 'Washer One Finished '
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.washer_one_watts
below: '2'
for: '00:02:00'
condition: []
action:
- service: counter.decrement
target:
entity_id: counter.washing_machine_tablets
- service: notify.alexa_media
data_template:
target:
- media_player.kitchen
- media_player.living_room
- media_player.hallway_flex
data:
type: announce
message: >-
Washer One has now finished, please leave the door open after you empty
it
- service: notify.bearcave
data:
message: >-
Washer One has now finished, please leave the door open after you empty
it
mode: single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment