Compare commits
6 Commits
cedea7d7dc
...
3b7d381dbc
Author | SHA1 | Date | |
---|---|---|---|
3b7d381dbc | |||
d1a89ec227 | |||
b8d2816494 | |||
ca68b56f72 | |||
6a5f2e6904 | |||
86a9d4b0c3 |
@ -129,3 +129,20 @@
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.3d_printer_enclosure_fan_on_off
|
||||
|
||||
- id: 3dprinter-pause-notify
|
||||
alias: '[3D Printer] Notify about paused print'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.octoprint_target_tool0_temp
|
||||
to: "0"
|
||||
condition:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.octoprint_target_bed_temp
|
||||
above: 0
|
||||
action:
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: Print has been paused
|
||||
title: Prusa i3
|
||||
|
@ -7,32 +7,32 @@
|
||||
entity_id: calendar.automations_wakeup
|
||||
action:
|
||||
# Set speed for blinds
|
||||
- service: zha.issue_zigbee_cluster_command
|
||||
data:
|
||||
ieee: '84:71:27:ff:fe:d3:3a:e9' # Bedroom Blind Left
|
||||
command: 0x0006
|
||||
command_type: server
|
||||
endpoint_id: 1
|
||||
cluster_id: 258
|
||||
args:
|
||||
- 0
|
||||
- 0
|
||||
- 0x69
|
||||
- 0
|
||||
- [ 4, 0, 0, 0, 10 ]
|
||||
- service: zha.issue_zigbee_cluster_command
|
||||
data:
|
||||
ieee: '84:71:27:ff:fe:cf:cd:ec' # Bedroom Blind Right
|
||||
command: 0x0006
|
||||
command_type: server
|
||||
endpoint_id: 1
|
||||
cluster_id: 258
|
||||
args:
|
||||
- 0
|
||||
- 0
|
||||
- 0x69
|
||||
- 0
|
||||
- [ 4, 0, 0, 0, 10 ]
|
||||
# - service: zha.issue_zigbee_cluster_command
|
||||
# data:
|
||||
# ieee: '84:71:27:ff:fe:d3:3a:e9' # Bedroom Blind Left
|
||||
# command: 0x0006
|
||||
# command_type: server
|
||||
# endpoint_id: 1
|
||||
# cluster_id: 258
|
||||
# args:
|
||||
# - 0
|
||||
# - 0
|
||||
# - 0x69
|
||||
# - 0
|
||||
# - [ 4, 0, 0, 0, 10 ]
|
||||
# - service: zha.issue_zigbee_cluster_command
|
||||
# data:
|
||||
# ieee: '84:71:27:ff:fe:cf:cd:ec' # Bedroom Blind Right
|
||||
# command: 0x0006
|
||||
# command_type: server
|
||||
# endpoint_id: 1
|
||||
# cluster_id: 258
|
||||
# args:
|
||||
# - 0
|
||||
# - 0
|
||||
# - 0x69
|
||||
# - 0
|
||||
# - [ 4, 0, 0, 0, 10 ]
|
||||
- service: automation.turn_off
|
||||
target:
|
||||
entity_id:
|
||||
@ -100,30 +100,30 @@
|
||||
- light.bed_lamps
|
||||
- light.bed_lightstrip
|
||||
# Set back speed for blinds
|
||||
- service: zha.issue_zigbee_cluster_command
|
||||
data:
|
||||
ieee: '84:71:27:ff:fe:d3:3a:e9' # Bedroom Blind Left
|
||||
command: 0x0006
|
||||
command_type: server
|
||||
endpoint_id: 1
|
||||
cluster_id: 258
|
||||
args:
|
||||
- 0
|
||||
- 0
|
||||
- 0x69
|
||||
- 0
|
||||
- [ 4, 0, 0, 0, 100 ]
|
||||
- service: zha.issue_zigbee_cluster_command
|
||||
data:
|
||||
ieee: '84:71:27:ff:fe:cf:cd:ec' # Bedroom Blind Right
|
||||
command: 0x0006
|
||||
command_type: server
|
||||
endpoint_id: 1
|
||||
cluster_id: 258
|
||||
args:
|
||||
- 0
|
||||
- 0
|
||||
- 0x69
|
||||
- 0
|
||||
- [ 4, 0, 0, 0, 100 ]
|
||||
# - service: zha.issue_zigbee_cluster_command
|
||||
# data:
|
||||
# ieee: '84:71:27:ff:fe:d3:3a:e9' # Bedroom Blind Left
|
||||
# command: 0x0006
|
||||
# command_type: server
|
||||
# endpoint_id: 1
|
||||
# cluster_id: 258
|
||||
# args:
|
||||
# - 0
|
||||
# - 0
|
||||
# - 0x69
|
||||
# - 0
|
||||
# - [ 4, 0, 0, 0, 100 ]
|
||||
# - service: zha.issue_zigbee_cluster_command
|
||||
# data:
|
||||
# ieee: '84:71:27:ff:fe:cf:cd:ec' # Bedroom Blind Right
|
||||
# command: 0x0006
|
||||
# command_type: server
|
||||
# endpoint_id: 1
|
||||
# cluster_id: 258
|
||||
# args:
|
||||
# - 0
|
||||
# - 0
|
||||
# - 0x69
|
||||
# - 0
|
||||
# - [ 4, 0, 0, 0, 100 ]
|
||||
mode: single
|
||||
|
@ -7,10 +7,16 @@
|
||||
entity_id: calendar.automations_wakeup
|
||||
offset: '-16:00:0'
|
||||
action:
|
||||
- wait_for_trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.coffee_machine_electrical_measurement
|
||||
below: '4'
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.coffee_machine_electrical_measurement
|
||||
above: 4
|
||||
sequence:
|
||||
- wait_for_trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.coffee_machine_electrical_measurement
|
||||
below: '4'
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.coffee_machine_on_off
|
||||
|
@ -5,6 +5,12 @@
|
||||
- platform: state
|
||||
entity_id: binary_sensor.coffee_machine_leak_sensor
|
||||
to: 'on'
|
||||
- platform: state
|
||||
entity_id: binary_sensor.fridge_leak_sensor
|
||||
to: 'on'
|
||||
- platform: state
|
||||
entity_id: binary_sensor.humidifier_leak_sensor
|
||||
to: 'on'
|
||||
- platform: state
|
||||
entity_id: binary_sensor.kitchen_sink_leak_sensor
|
||||
to: 'on'
|
||||
@ -18,4 +24,31 @@
|
||||
message: >
|
||||
Leak detected: {{ state_attr(trigger.entity_id, 'friendly_name') }}
|
||||
data:
|
||||
importance: high
|
||||
push:
|
||||
sound:
|
||||
name: "default"
|
||||
critical: 1
|
||||
volume: 1.0
|
||||
|
||||
- id: info-smoke-notice
|
||||
alias: '[INFO] Smoke notice'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.3d_printer_smoke_sensor_smoke_alarm_smoke_detected
|
||||
to: 'on'
|
||||
- platform: state
|
||||
entity_id: binary_sensor.rack_smoke_sensor
|
||||
to: 'on'
|
||||
action:
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "Smoke detection"
|
||||
message: >
|
||||
Smoke detected: {{ state_attr(trigger.entity_id, 'friendly_name') }}
|
||||
data:
|
||||
push:
|
||||
sound:
|
||||
name: "default"
|
||||
critical: 1
|
||||
volume: 1.0
|
||||
|
Loading…
Reference in New Issue
Block a user