Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save theundefined/f1d741259a503b5409f71aa1e84bde61 to your computer and use it in GitHub Desktop.
Save theundefined/f1d741259a503b5409f71aa1e84bde61 to your computer and use it in GitHub Desktop.
- id: '1604785510049'
alias: Pralka - off
description: ''
trigger:
- entity_id: sensor.sp111_3_pralka_power
platform: numeric_state
for: 00:01
below: '2'
condition: []
action:
- service: input_select.select_option
data:
option: false
entity_id: input_select.pralka_status
mode: restart
- id: '1604785626451'
alias: Pralka - uruchomiona
description: ''
trigger:
- entity_id: sensor.sp111_3_pralka_power
platform: numeric_state
above: '100'
condition: []
action:
- service: input_select.select_option
data:
option: Running
entity_id: input_select.pralka_status
mode: restart
- id: '1604785748650'
alias: Pralka - ready
description: ''
trigger:
- entity_id: sensor.sp111_3_pralka_power
platform: numeric_state
for: 00:01
below: '10'
condition:
- condition: numeric_state
entity_id: sensor.sp111_3_pralka_power
above: '1'
action:
- service: input_select.select_option
data:
option: Ready
entity_id: input_select.pralka_status
- data:
message: Pralka skończyła pracę
service: notify.andrzejdopierala_hangouts
mode: restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment