1
0

Update humidifier settings

This commit is contained in:
Przemek Grondek 2020-12-06 21:46:37 +01:00
parent e80e8a834b
commit 4796b28c4f

View File

@ -1,17 +1,23 @@
- id: humidity_notificaiton
alias: Humidity notification
- id: humidifier_on
alias: Turn on humidifier
trigger:
- platform: numeric_state
entity_id: sensor.ble_humidity_bedroom_sensor
below: '40'
below: '45'
condition: []
action:
- service: tts.google_translate_say
data:
language: pl
message: Niska wilgotność uzupełnij wodę w nawilżaczu
entity_id: media_player.livingroom_speaker
- service: notify.mobile_app_sm_g965f
data:
message: Niska wilgotność uzupełnij wodę w nawilżaczu
- service: switch.turn_on
entity_id: switch.humidifier_plug
mode: single
- id: humidifier_off
alias: Turn on humidifier
trigger:
- platform: numeric_state
entity_id: sensor.ble_humidity_bedroom_sensor
above: '50'
condition: []
action:
- service: switch.turn_off
entity_id: switch.humidifier_plug
mode: single