Compare commits
2 Commits
90a1a1996c
...
613e0e14ae
Author | SHA1 | Date | |
---|---|---|---|
|
613e0e14ae | ||
|
0173cc7641 |
@ -93,7 +93,7 @@
|
|||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: cover.office_blinds
|
entity_id: cover.office_blinds
|
||||||
attribute: current_position
|
attribute: current_position
|
||||||
above: 49
|
below: 50
|
||||||
sequence:
|
sequence:
|
||||||
- service: cover.set_cover_position
|
- service: cover.set_cover_position
|
||||||
data:
|
data:
|
||||||
|
36
configuration/automations/office-leak.yaml
Normal file
36
configuration/automations/office-leak.yaml
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
- id: office-leak
|
||||||
|
alias: '[Office] leak detected'
|
||||||
|
mode: restart
|
||||||
|
trigger:
|
||||||
|
- type: moist
|
||||||
|
platform: device
|
||||||
|
device_id: 45887888b0b9ea753953c93194ba49f0
|
||||||
|
entity_id: binary_sensor.lumi_lumi_sensor_wleak_aq1_iaszone
|
||||||
|
domain: binary_sensor
|
||||||
|
action:
|
||||||
|
- service: zwave_js.set_config_parameter
|
||||||
|
data:
|
||||||
|
parameter: '7'
|
||||||
|
value: '1'
|
||||||
|
target:
|
||||||
|
entity_id: switch.siren_alarm
|
||||||
|
- service: switch.turn_on
|
||||||
|
target:
|
||||||
|
entity_id: switch.siren_alarm
|
||||||
|
- repeat:
|
||||||
|
until:
|
||||||
|
- condition: state
|
||||||
|
entity_id: binary_sensor.lumi_lumi_sensor_wleak_aq1_iaszone
|
||||||
|
state: "off"
|
||||||
|
sequence:
|
||||||
|
- service: switch.turn_on
|
||||||
|
target:
|
||||||
|
entity_id: switch.siren_alarm
|
||||||
|
- service: notify.mobile_app_iphone
|
||||||
|
data:
|
||||||
|
message: Humidifier water leak!!!!
|
||||||
|
- delay:
|
||||||
|
hours: 0
|
||||||
|
minutes: 1
|
||||||
|
seconds: 0
|
||||||
|
milliseconds: 0
|
Loading…
Reference in New Issue
Block a user