Last active
June 20, 2023 07:41
-
-
Save infrat/6d46cb5cbffa51e80ca27f3ae04e86e7 to your computer and use it in GitHub Desktop.
Turn on septic tank pump
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description: Turn on septic tank pump | |
mode: single | |
trigger: | |
- platform: time_pattern | |
minutes: /5 # Co 5 minut | |
hours: 22-23,0-5 # codziennie między 22 a 5:59 | |
condition: | |
- condition: state | |
entity_id: binary_sensor.septic_tank_sensor01 # Sprawdź czy encja o id 'binary_sensor.septic_tank_sensor01' (tu użyj id Twojego presostatu) | |
state: "on" # Ma stan "on" (czyli presostat wskazuje wysoki stan w zbiorniku) | |
action: | |
- service: switch.turn_on | |
data: {} | |
target: | |
entity_id: switch.septic_tank_pump01 # Załącz encję o id '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