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 - id: humidifier_on
alias: Humidity notification alias: Turn on humidifier
trigger: trigger:
- platform: numeric_state - platform: numeric_state
entity_id: sensor.ble_humidity_bedroom_sensor entity_id: sensor.ble_humidity_bedroom_sensor
below: '40' below: '45'
condition: [] condition: []
action: action:
- service: tts.google_translate_say - service: switch.turn_on
data: entity_id: switch.humidifier_plug
language: pl mode: single
message: Niska wilgotność uzupełnij wodę w nawilżaczu
entity_id: media_player.livingroom_speaker - id: humidifier_off
- service: notify.mobile_app_sm_g965f alias: Turn on humidifier
data: trigger:
message: Niska wilgotność uzupełnij wodę w nawilżaczu - 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 mode: single