Add wax warmer automation for fireplace with motion detection and occupancy timeout
This commit is contained in:
@@ -20,7 +20,9 @@
|
|||||||
target:
|
target:
|
||||||
device_id:
|
device_id:
|
||||||
- 42b9a4c3e4edfd663f2b8a0a95c3997c
|
- 42b9a4c3e4edfd663f2b8a0a95c3997c
|
||||||
- 889b4b9e38814db0249b94d2dea4ae43
|
- action: switch.turn_on
|
||||||
|
target:
|
||||||
|
entity_id: switch.office_wax_warmer_socket_1
|
||||||
- type: turn_on
|
- type: turn_on
|
||||||
device_id: 397d7f06bfbbeaf3014d989a1e32ce07
|
device_id: 397d7f06bfbbeaf3014d989a1e32ce07
|
||||||
entity_id: 92505d68c2d00ef59e8ba61c3e3db32b
|
entity_id: 92505d68c2d00ef59e8ba61c3e3db32b
|
||||||
@@ -61,7 +63,9 @@
|
|||||||
target:
|
target:
|
||||||
device_id:
|
device_id:
|
||||||
- 42b9a4c3e4edfd663f2b8a0a95c3997c
|
- 42b9a4c3e4edfd663f2b8a0a95c3997c
|
||||||
- 889b4b9e38814db0249b94d2dea4ae43
|
- action: switch.turn_off
|
||||||
|
target:
|
||||||
|
entity_id: switch.office_wax_warmer_socket_1
|
||||||
- type: turn_off
|
- type: turn_off
|
||||||
device_id: 397d7f06bfbbeaf3014d989a1e32ce07
|
device_id: 397d7f06bfbbeaf3014d989a1e32ce07
|
||||||
entity_id: 92505d68c2d00ef59e8ba61c3e3db32b
|
entity_id: 92505d68c2d00ef59e8ba61c3e3db32b
|
||||||
@@ -80,4 +84,4 @@
|
|||||||
device_id: 31d67bb445f5c8920a1dc076d0d71e76
|
device_id: 31d67bb445f5c8920a1dc076d0d71e76
|
||||||
entity_id: 6c1fd91e0ff15419f7bdb6b9e233cffc
|
entity_id: 6c1fd91e0ff15419f7bdb6b9e233cffc
|
||||||
domain: switch
|
domain: switch
|
||||||
mode: single
|
mode: single
|
||||||
|
|||||||
@@ -467,14 +467,30 @@
|
|||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
- id: '1760000000001'
|
- id: '1760000000001'
|
||||||
alias: Fireplace mantle outlet morning schedule
|
alias: Fireplace mantle wax warmer on with motion
|
||||||
description: Turn the fireplace mantle outlet on each morning.
|
description: Turn on the mantle wax warmer when motion is detected in the living room.
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: time
|
- trigger: state
|
||||||
at: '05:30:00'
|
entity_id: binary_sensor.living_room_motion_2
|
||||||
|
to: 'on'
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- action: switch.turn_on
|
- action: switch.turn_on
|
||||||
target:
|
target:
|
||||||
entity_id: switch.fireplace
|
entity_id: switch.fireplace
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
|
- id: 'fireplace_mantle_wax_warmer_off_when_empty'
|
||||||
|
alias: Fireplace mantle wax warmer off when empty
|
||||||
|
description: Turn off the mantle wax warmer after one hour without living room occupancy.
|
||||||
|
triggers:
|
||||||
|
- trigger: state
|
||||||
|
entity_id: binary_sensor.living_room_occupancy
|
||||||
|
to: 'off'
|
||||||
|
for: '01:00:00'
|
||||||
|
conditions: []
|
||||||
|
actions:
|
||||||
|
- action: switch.turn_off
|
||||||
|
target:
|
||||||
|
entity_id: switch.fireplace
|
||||||
|
mode: single
|
||||||
|
|||||||
Reference in New Issue
Block a user