Skip to content

Instantly share code, notes, and snippets.

@infrat
Created June 20, 2023 07:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save infrat/4c290a2b85e48d930979091712371076 to your computer and use it in GitHub Desktop.
Save infrat/4c290a2b85e48d930979091712371076 to your computer and use it in GitHub Desktop.
Turn off septic tank pump
description: "Turn off septic tank pump"
mode: single
trigger:
- platform: state
entity_id:
- binary_sensor.septic_tank_sensor01 # Jeżeli stan encji o id 'binary_sensor.septic_tank_sensor01' (tu użyj id Twojego presostatu)
from: "on" # zmieni się z on
to: "off" # na off
condition: []
action:
- delay:
hours: 0
minutes: 10 # to poczekaj 10 minut
seconds: 0
milliseconds: 0
- service: switch.turn_off
data: {}
target:
entity_id: switch.septic_tank_pump01 # i wyłącz urządzenie o id encji 'switch.septic_tank_pump01' (tu użyj id Twojej pompki)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment