Skip to content

Instantly share code, notes, and snippets.

@huizebruin
Created June 12, 2022 13:07
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 huizebruin/72e419f109b6c12fb711a849b3e60ddf to your computer and use it in GitHub Desktop.
Save huizebruin/72e419f109b6c12fb711a849b3e60ddf to your computer and use it in GitHub Desktop.
afzuiging automation badkamer
alias: afzuiging automation badkamer
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.douche_humidity
attribute: humidity
above: '85.00'
condition:
- condition: time
after: input_datetime.fan_begin_tijd
before: input_datetime.fan_eind_tijd
action:
- type: turn_on
device_id: 63e587ace1fc2d33121ff15c034295ed
entity_id: switch.afzuiging
domain: switch
- service: telegram_bot.send_message
data:
message: 🚿 Badkamer afzuiging automation aan
title: Badkamer
- delay:
hours: 0
minutes: 45
seconds: 0
milliseconds: 0
- condition: numeric_state
entity_id: sensor.douche_humidity
attribute: humidity
below: '74'
- type: turn_off
device_id: 63e587ace1fc2d33121ff15c034295ed
entity_id: switch.afzuiging
domain: switch
- service: telegram_bot.send_message
data:
message: 🚿 Badkamer afzuiging automation uit
title: Badkamer
mode: single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment