initial commit

This commit is contained in:
root
2026-06-28 14:27:20 -04:00
commit ae0f1f559e
115 changed files with 30411 additions and 0 deletions
+903
View File
@@ -0,0 +1,903 @@
# Home and lighting automations.
- id: '1738951431044'
alias: Turn off living room lights
description: ''
triggers:
- entity_id:
- binary_sensor.hsjq_motion
to: 'off'
for:
hours: 0
minutes: 15
seconds: 0
trigger: state
conditions:
- condition: time
after: 09:00:00
before: 06:00:00
weekday:
- sun
- mon
- tue
- wed
- thu
- fri
- sat
actions:
- target:
entity_id: media_player.hisense_g204x_cd41
action: media_player.turn_off
data: {}
enabled: false
- action: light.turn_off
data: {}
target:
entity_id:
- light.living_room_light_2
mode: single
- id: '1739826648241'
alias: Turn on Living room lights motion sense
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.hsjq_motion
to: 'on'
conditions:
- condition: and
conditions:
- condition: sun
after: sunset
- condition: time
before: '22:30:00'
actions:
- action: light.turn_on
metadata: {}
data:
color_temp_kelvin: 3701
brightness_pct: 78
target:
device_id:
- d76728b35b6f17a89be03ef00645812e
entity_id: light.living_room_light_2
mode: single
- id: '1739835025769'
alias: Turn on bedroom lights with motion
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.bedroom_motion
to: 'on'
conditions:
- condition: time
after: '16:00:00'
before: '20:00:00'
weekday:
- sun
- mon
- tue
- wed
- thu
- fri
- sat
- condition: sun
after: sunset
actions:
- type: turn_on
device_id: a8b108e7836eeb9c66cd0169afc4a486
entity_id: d48390b30da2add2f866a8cec5dc2726
domain: switch
- type: turn_on
device_id: d371342d65df3ddbd28fb841b6ce0a13
entity_id: 7df615008eff2c537a1d6ac4be76def4
domain: switch
- delay: 00:10:00
mode: single
- id: '1739840523909'
alias: Turn off bedside lights in the evening
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.bedroom_occupancy
to: 'off'
for:
hours: 0
minutes: 1
seconds: 0
conditions:
- condition: time
after: '16:00:00'
before: '20:00:00'
weekday:
- sun
- mon
- tue
- wed
- thu
- fri
- sat
actions:
- type: turn_off
device_id: a8b108e7836eeb9c66cd0169afc4a486
entity_id: d48390b30da2add2f866a8cec5dc2726
domain: switch
- type: turn_off
device_id: d371342d65df3ddbd28fb841b6ce0a13
entity_id: 7df615008eff2c537a1d6ac4be76def4
domain: switch
mode: single
- id: '1739841110645'
alias: Turn on family room in the morning
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.meat_heater_motion
to: 'on'
conditions:
- condition: time
after: 06:00:00
before: 07:45:00
weekday:
- sun
- mon
- tue
- wed
- thu
- fri
- sat
actions:
- type: turn_on
device_id: 389d36aa5a0ecfd3eb2e1ec8795464d0
entity_id: 0ae75b98556682467fedf0ff441346ef
domain: light
brightness_pct: 20
enabled: true
- type: turn_on
device_id: 6f341a97517eecd7e4befd4633bb0c3a
entity_id: 4b21efa79430d63e813137d08a8df60e
domain: light
- type: turn_on
device_id: 77092d966014d6eb6222928cce911caf
entity_id: af55f6e7e0ffa642407923fc6e8cdaf3
domain: light
enabled: false
- type: turn_on
device_id: 3096deb74c1dddf893e78fcdfa5b23aa
entity_id: aa15e9f5b3c00639b64501acd18f2081
domain: switch
- type: turn_on
device_id: 58dfbd5f60265682b98691217b9bd038
entity_id: abf15d05be0dadf1bba145f0835d3b3a
domain: switch
- type: turn_on
device_id: 2fde35e8a4dfe850d53d35a650d05b6e
entity_id: c4ec82fc55ef125a4b39f842e06b7261
domain: switch
- type: turn_on
device_id: 4f7810cf96260d17363b63542447ffe7
entity_id: 70347118804cc5d1b5770362ab369251
domain: switch
- type: turn_on
device_id: 84566a79d41ebedd4512d2418195a898
entity_id: fb7b78a1f6d3146585e2f93be33bf4c1
domain: switch
- type: turn_on
device_id: 88c1bfde7eba191a46899d4c59754512
entity_id: 594a0d24aa2fd2dc2156d9918a2204bf
domain: switch
- type: turn_on
device_id: 00ce230936f351558f177d5ed229759b
entity_id: 9ef15fb77ca7e81bcb6c7551329f50aa
domain: switch
mode: single
- id: '1739970708082'
alias: Lights On Before Sunrise
description: ''
triggers:
- trigger: time
at: 05:45:00
conditions: []
actions:
- type: turn_on
device_id: c58fc0103836dffe365aeb33056cee71
entity_id: 37852e5f667fe36826f2ac1ae9f2376a
domain: switch
- type: turn_on
device_id: 7ed0dde2b0b802820f57f3f9f515adfe
entity_id: de439b7d82897ca4cf67b8aeb53b4eee
domain: switch
- type: turn_on
device_id: 389d36aa5a0ecfd3eb2e1ec8795464d0
entity_id: 0ae75b98556682467fedf0ff441346ef
domain: light
- type: turn_on
device_id: 31d67bb445f5c8920a1dc076d0d71e76
entity_id: 6c1fd91e0ff15419f7bdb6b9e233cffc
domain: switch
- type: turn_on
device_id: 77092d966014d6eb6222928cce911caf
entity_id: af55f6e7e0ffa642407923fc6e8cdaf3
domain: light
enabled: false
- type: turn_on
device_id: 00ce230936f351558f177d5ed229759b
entity_id: 9ef15fb77ca7e81bcb6c7551329f50aa
domain: switch
enabled: false
- type: turn_on
device_id: 6f341a97517eecd7e4befd4633bb0c3a
entity_id: 4b21efa79430d63e813137d08a8df60e
domain: light
enabled: false
mode: single
- id: '1739970910638'
alias: 10PM Turn Jordyn's Lamp Off
description: ''
triggers:
- trigger: time
at: '22:00:00'
conditions: []
actions:
- type: turn_off
device_id: ef731a5e6e666bf4fc20cc321f596029
entity_id: 9629035816fddf7de8926e4e4c29aa34
domain: switch
mode: single
- id: '1739971192633'
alias: Turn On Lights in Evening
description: ''
triggers:
- trigger: sun
event: sunset
offset: -00:30:00
conditions: []
actions:
- type: turn_on
device_id: e04306aa947ba9901108c363d8109ca0
entity_id: 12662d2294935b2a21500e3f6d69ba15
domain: switch
enabled: true
- type: turn_on
device_id: e2343a74462cc1434c4acfa2e32d1364
entity_id: ea84e174f0fa3316b9923c4254454a37
domain: switch
enabled: true
- type: turn_on
device_id: c0de273e40c6f4f1cafe4db27e5a6782
entity_id: e6f4af2d9bc05634f994af34bad9a477
domain: switch
enabled: true
- type: turn_on
device_id: 389d36aa5a0ecfd3eb2e1ec8795464d0
entity_id: 0ae75b98556682467fedf0ff441346ef
domain: light
brightness_pct: 50
enabled: true
- type: turn_on
device_id: 7ed0dde2b0b802820f57f3f9f515adfe
entity_id: de439b7d82897ca4cf67b8aeb53b4eee
domain: switch
- type: turn_on
device_id: a1fdc7c838bdded4d8e90bb7941476a3
entity_id: 84d24335edc946153ed4f81ac7906f3c
domain: switch
enabled: true
- type: turn_on
device_id: a8b108e7836eeb9c66cd0169afc4a486
entity_id: d48390b30da2add2f866a8cec5dc2726
domain: switch
- type: turn_on
device_id: d371342d65df3ddbd28fb841b6ce0a13
entity_id: 7df615008eff2c537a1d6ac4be76def4
domain: switch
- type: turn_on
device_id: 872cdc7e609c8df8544349fceae0828e
entity_id: df6f91a7fc4619ff7d664e12518fc9c2
domain: switch
enabled: true
- type: turn_on
device_id: 6f341a97517eecd7e4befd4633bb0c3a
entity_id: 4b21efa79430d63e813137d08a8df60e
domain: light
brightness_pct: 15
- type: turn_on
device_id: 40d38ce4c97de6008962e2b3d84896c9
entity_id: d794e094113a14e6de0db3e5d3f65e88
domain: light
brightness_pct: 50
- type: turn_on
device_id: 84566a79d41ebedd4512d2418195a898
entity_id: fb7b78a1f6d3146585e2f93be33bf4c1
domain: switch
- type: turn_on
device_id: 31622aa8682d29be0d631680776131c3
entity_id: dbc4e84732121a8cc63eb1b6e95fd78b
domain: switch
enabled: false
- type: turn_on
device_id: 3096deb74c1dddf893e78fcdfa5b23aa
entity_id: aa15e9f5b3c00639b64501acd18f2081
domain: switch
enabled: false
- type: turn_on
device_id: eae417dc05ec7c9f1da72f76f32bff18
entity_id: 8ebd9a84e00e9a8a4c05860cb01767ef
domain: switch
enabled: false
- type: turn_on
device_id: 2fde35e8a4dfe850d53d35a650d05b6e
entity_id: c4ec82fc55ef125a4b39f842e06b7261
domain: switch
enabled: false
- type: turn_on
device_id: 58dfbd5f60265682b98691217b9bd038
entity_id: abf15d05be0dadf1bba145f0835d3b3a
domain: switch
enabled: false
- type: turn_on
device_id: 4f7810cf96260d17363b63542447ffe7
entity_id: 70347118804cc5d1b5770362ab369251
domain: switch
enabled: false
- type: turn_on
device_id: 88c1bfde7eba191a46899d4c59754512
entity_id: 594a0d24aa2fd2dc2156d9918a2204bf
domain: switch
enabled: false
- type: turn_on
device_id: 77092d966014d6eb6222928cce911caf
entity_id: af55f6e7e0ffa642407923fc6e8cdaf3
domain: light
enabled: false
- type: turn_on
device_id: e117bada67c4b115d445163c93d2f78c
entity_id: ee44672a0acd4c35658f69b1ec71bdf7
domain: light
enabled: false
mode: single
- id: '1739971331649'
alias: Master Bedroom On At 8PM
description: ''
triggers:
- trigger: time
at: '20:00:00'
conditions: []
actions:
- type: turn_on
device_id: a8b108e7836eeb9c66cd0169afc4a486
entity_id: d48390b30da2add2f866a8cec5dc2726
domain: switch
- type: turn_on
device_id: d371342d65df3ddbd28fb841b6ce0a13
entity_id: 7df615008eff2c537a1d6ac4be76def4
domain: switch
- type: turn_on
device_id: 8b5cc6f6d2e727522ad3069656e2020f
entity_id: ff7e86ebc87458f60b69d1599ff06d13
domain: fan
mode: single
- id: '1739980877023'
alias: Downstairs Lights off at 9AM
description: ''
triggers:
- trigger: time
at: 09:00:00
conditions: []
actions:
- type: turn_off
device_id: 8b5cc6f6d2e727522ad3069656e2020f
entity_id: ff7e86ebc87458f60b69d1599ff06d13
domain: fan
- action: light.turn_off
metadata: {}
data: {}
target:
device_id:
- 389d36aa5a0ecfd3eb2e1ec8795464d0
- type: turn_off
device_id: 6f341a97517eecd7e4befd4633bb0c3a
entity_id: 4b21efa79430d63e813137d08a8df60e
domain: light
- type: turn_off
device_id: 77092d966014d6eb6222928cce911caf
entity_id: af55f6e7e0ffa642407923fc6e8cdaf3
domain: light
- type: turn_off
device_id: 3096deb74c1dddf893e78fcdfa5b23aa
entity_id: aa15e9f5b3c00639b64501acd18f2081
domain: switch
enabled: false
- type: turn_off
device_id: 58dfbd5f60265682b98691217b9bd038
entity_id: abf15d05be0dadf1bba145f0835d3b3a
domain: switch
enabled: false
- type: turn_off
device_id: 2fde35e8a4dfe850d53d35a650d05b6e
entity_id: c4ec82fc55ef125a4b39f842e06b7261
domain: switch
enabled: false
- type: turn_off
device_id: 4f7810cf96260d17363b63542447ffe7
entity_id: 70347118804cc5d1b5770362ab369251
domain: switch
enabled: false
- type: turn_off
device_id: d76728b35b6f17a89be03ef00645812e
entity_id: 7c25efba75f15af0be530ff9c9b9c729
domain: light
enabled: false
- type: turn_off
device_id: 84566a79d41ebedd4512d2418195a898
entity_id: fb7b78a1f6d3146585e2f93be33bf4c1
domain: switch
enabled: false
- type: turn_off
device_id: d76728b35b6f17a89be03ef00645812e
entity_id: 7c25efba75f15af0be530ff9c9b9c729
domain: light
- type: turn_off
device_id: 9d37094a9a9d22b1fb8bf640ca072083
entity_id: f0a27ed262997bfc54caf8a75ac15619
domain: light
- type: turn_off
device_id: 88c1bfde7eba191a46899d4c59754512
entity_id: 594a0d24aa2fd2dc2156d9918a2204bf
domain: switch
enabled: false
- type: turn_off
device_id: e117bada67c4b115d445163c93d2f78c
entity_id: ee44672a0acd4c35658f69b1ec71bdf7
domain: light
enabled: false
mode: single
- id: '1739997032502'
alias: Echo Plug Power Toggle Automation
description: ''
triggers:
- trigger: time
at: '17:00:00'
conditions: []
actions:
- type: turn_off
device_id: 31d67bb445f5c8920a1dc076d0d71e76
entity_id: 6c1fd91e0ff15419f7bdb6b9e233cffc
domain: switch
mode: single
- id: '1740099961116'
alias: Office Lights on with Motion
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.office_motion
to: 'on'
conditions: []
actions:
- action: light.turn_on
metadata: {}
data:
brightness_pct: 100
color_temp_kelvin: 6500
target:
device_id:
- 42b9a4c3e4edfd663f2b8a0a95c3997c
- 889b4b9e38814db0249b94d2dea4ae43
- type: turn_on
device_id: 397d7f06bfbbeaf3014d989a1e32ce07
entity_id: 92505d68c2d00ef59e8ba61c3e3db32b
domain: switch
- type: turn_on
device_id: e2b7cf374f656d6ffbca52e988ef6ddb
entity_id: 5a8a6ccbe11b22be7e4c2709f647e45d
domain: switch
mode: single
- id: '1740100159283'
alias: Turn off lights when no one is in office
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.office_occupancy
to: 'off'
for:
hours: 1
minutes: 0
seconds: 0
conditions: []
actions:
- action: light.turn_off
metadata: {}
data: {}
target:
device_id:
- 42b9a4c3e4edfd663f2b8a0a95c3997c
- 889b4b9e38814db0249b94d2dea4ae43
- type: turn_off
device_id: 397d7f06bfbbeaf3014d989a1e32ce07
entity_id: 92505d68c2d00ef59e8ba61c3e3db32b
domain: switch
- type: turn_off
device_id: e2b7cf374f656d6ffbca52e988ef6ddb
entity_id: 5a8a6ccbe11b22be7e4c2709f647e45d
domain: switch
mode: single
- id: '1740929956187'
alias: Turn off Family room when no one is in it.
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.meat_heater_motion
to: 'off'
for:
hours: 0
minutes: 30
seconds: 0
conditions:
- condition: or
conditions:
- condition: time
after: '20:00:00'
before: 02:00:00
weekday:
- sat
- fri
- thu
- wed
- tue
- mon
- sun
- condition: time
after: 09:00:00
before: '18:00:00'
weekday:
- sat
- fri
- thu
- wed
- tue
- mon
- sun
actions:
- type: turn_off
device_id: 389d36aa5a0ecfd3eb2e1ec8795464d0
entity_id: 0ae75b98556682467fedf0ff441346ef
domain: light
- type: turn_off
device_id: 7ed0dde2b0b802820f57f3f9f515adfe
entity_id: de439b7d82897ca4cf67b8aeb53b4eee
domain: switch
enabled: false
- type: turn_off
device_id: 389d36aa5a0ecfd3eb2e1ec8795464d0
entity_id: 0ae75b98556682467fedf0ff441346ef
domain: light
mode: single
- id: '1742691391008'
alias: Turn on office echo
description: ''
triggers:
- trigger: time
at: '18:00:00'
conditions: []
actions:
- type: turn_on
device_id: 31d67bb445f5c8920a1dc076d0d71e76
entity_id: 6c1fd91e0ff15419f7bdb6b9e233cffc
domain: switch
mode: single
- id: '1742691696852'
alias: Family Room Off at Midnight
description: ''
triggers:
- trigger: time
at: 00:00:00
conditions: []
actions:
- type: turn_off
device_id: 389d36aa5a0ecfd3eb2e1ec8795464d0
entity_id: 0ae75b98556682467fedf0ff441346ef
domain: light
- type: turn_off
device_id: 7ed0dde2b0b802820f57f3f9f515adfe
entity_id: de439b7d82897ca4cf67b8aeb53b4eee
domain: switch
- type: turn_off
device_id: 77092d966014d6eb6222928cce911caf
entity_id: af55f6e7e0ffa642407923fc6e8cdaf3
domain: light
- type: turn_off
device_id: 6f341a97517eecd7e4befd4633bb0c3a
entity_id: 4b21efa79430d63e813137d08a8df60e
domain: light
mode: single
- id: '1751505592389'
alias: Turn off bug zapper at 1030PM
description: ''
triggers:
- trigger: time
at: '22:30:00'
conditions: []
actions:
- type: turn_off
device_id: 872cdc7e609c8df8544349fceae0828e
entity_id: df6f91a7fc4619ff7d664e12518fc9c2
domain: switch
mode: single
- id: '1756172550854'
alias: Turn off Fan in AM
description: ''
triggers:
- trigger: time
at: 06:00:00
conditions: []
actions:
- type: turn_off
device_id: 31622aa8682d29be0d631680776131c3
entity_id: dbc4e84732121a8cc63eb1b6e95fd78b
domain: switch
mode: single
- id: '1757038271421'
alias: Turn off ceiling fan when its below 55
description: ''
triggers:
- trigger: numeric_state
entity_id:
- sensor.openweathermap_temperature
below: 55
conditions:
- condition: time
after: '23:00:00'
before: 06:00:00
actions:
- type: turn_off
device_id: 31622aa8682d29be0d631680776131c3
entity_id: dbc4e84732121a8cc63eb1b6e95fd78b
domain: switch
mode: single
- id: '1757038394971'
alias: Ceiling fan on above 71
description: ''
triggers:
- trigger: numeric_state
entity_id:
- sensor.bedroom_temperature
above: 70
conditions: []
actions:
- type: turn_on
device_id: 31622aa8682d29be0d631680776131c3
entity_id: dbc4e84732121a8cc63eb1b6e95fd78b
domain: switch
mode: single
- id: '1759631437832'
alias: 'Turn off decorations '
description: ''
triggers:
- trigger: time
at: 00:00:00
conditions: []
actions:
- type: turn_off
device_id: a1fdc7c838bdded4d8e90bb7941476a3
entity_id: 84d24335edc946153ed4f81ac7906f3c
domain: switch
- type: turn_off
device_id: 872cdc7e609c8df8544349fceae0828e
entity_id: df6f91a7fc4619ff7d664e12518fc9c2
domain: switch
- type: turn_off
device_id: eae417dc05ec7c9f1da72f76f32bff18
entity_id: 8ebd9a84e00e9a8a4c05860cb01767ef
domain: switch
enabled: true
- type: turn_off
device_id: 3096deb74c1dddf893e78fcdfa5b23aa
entity_id: aa15e9f5b3c00639b64501acd18f2081
domain: switch
- type: turn_off
device_id: 58dfbd5f60265682b98691217b9bd038
entity_id: abf15d05be0dadf1bba145f0835d3b3a
domain: switch
- type: turn_off
device_id: 4f7810cf96260d17363b63542447ffe7
entity_id: 70347118804cc5d1b5770362ab369251
domain: switch
- type: turn_off
device_id: 2fde35e8a4dfe850d53d35a650d05b6e
entity_id: c4ec82fc55ef125a4b39f842e06b7261
domain: switch
- type: turn_off
device_id: e117bada67c4b115d445163c93d2f78c
entity_id: ee44672a0acd4c35658f69b1ec71bdf7
domain: light
- type: turn_off
device_id: 88c1bfde7eba191a46899d4c59754512
entity_id: 594a0d24aa2fd2dc2156d9918a2204bf
domain: switch
- type: turn_off
device_id: 84566a79d41ebedd4512d2418195a898
entity_id: fb7b78a1f6d3146585e2f93be33bf4c1
domain: switch
- type: turn_off
device_id: c0de273e40c6f4f1cafe4db27e5a6782
entity_id: e6f4af2d9bc05634f994af34bad9a477
domain: switch
mode: single
- id: '1762279134131'
alias: Turn on decorations in the AM
description: ''
triggers:
- trigger: time
at: 06:00:00
conditions: []
actions:
- type: turn_on
device_id: eae417dc05ec7c9f1da72f76f32bff18
entity_id: 8ebd9a84e00e9a8a4c05860cb01767ef
domain: switch
enabled: false
- type: turn_on
device_id: a1fdc7c838bdded4d8e90bb7941476a3
entity_id: 84d24335edc946153ed4f81ac7906f3c
domain: switch
enabled: false
- type: turn_on
device_id: 3096deb74c1dddf893e78fcdfa5b23aa
entity_id: aa15e9f5b3c00639b64501acd18f2081
domain: switch
- type: turn_on
device_id: 58dfbd5f60265682b98691217b9bd038
entity_id: abf15d05be0dadf1bba145f0835d3b3a
domain: switch
- type: turn_on
device_id: 2fde35e8a4dfe850d53d35a650d05b6e
entity_id: c4ec82fc55ef125a4b39f842e06b7261
domain: switch
- type: turn_on
device_id: 4f7810cf96260d17363b63542447ffe7
entity_id: 70347118804cc5d1b5770362ab369251
domain: switch
- type: turn_on
device_id: 84566a79d41ebedd4512d2418195a898
entity_id: fb7b78a1f6d3146585e2f93be33bf4c1
domain: switch
- type: turn_on
device_id: e117bada67c4b115d445163c93d2f78c
entity_id: ee44672a0acd4c35658f69b1ec71bdf7
domain: light
- type: turn_on
device_id: 00ce230936f351558f177d5ed229759b
entity_id: 9ef15fb77ca7e81bcb6c7551329f50aa
domain: switch
- type: turn_on
device_id: 88c1bfde7eba191a46899d4c59754512
entity_id: 594a0d24aa2fd2dc2156d9918a2204bf
domain: switch
mode: single
- id: '1763411863796'
alias: Holiday Christmas Pandora at 5PM
description: Trigger Alexa routine to play Christmas Hits Holiday Playlist on Pandora
triggers:
- at: '17:00:00'
trigger: time
conditions:
- condition: template
value_template: '{{ now().month == 11 or now().month == 12 }}
'
actions:
- target:
entity_id: media_player.family_room_show
data:
media:
media_content_id: Play Christmas Music
media_content_type: routine
metadata: {}
action: media_player.play_media
mode: single
- id: '1765116337200'
alias: Turn off living room tv when empty
description: ''
triggers:
- entity_id:
- binary_sensor.hsjq_motion
to:
- 'off'
for:
hours: 0
minutes: 30
seconds: 0
trigger: state
conditions:
- condition: time
after: '18:00:00'
before: 06:00:00
weekday:
- sun
- mon
- tue
- wed
- thu
- fri
- sat
actions:
- target:
entity_id: media_player.hisense_g204x_cd41
action: media_player.turn_off
data: {}
enabled: true
mode: single
- id: '1769311377293'
alias: Front Porch Off at 10P
description: ''
triggers:
- trigger: time
at: '22:00:00'
conditions: []
actions:
- type: turn_off
device_id: e04306aa947ba9901108c363d8109ca0
entity_id: 12662d2294935b2a21500e3f6d69ba15
domain: switch
- type: turn_off
device_id: c0de273e40c6f4f1cafe4db27e5a6782
entity_id: e6f4af2d9bc05634f994af34bad9a477
domain: switch
- type: turn_off
device_id: e2343a74462cc1434c4acfa2e32d1364
entity_id: ea84e174f0fa3316b9923c4254454a37
domain: switch
- type: turn_off
device_id: 872cdc7e609c8df8544349fceae0828e
entity_id: df6f91a7fc4619ff7d664e12518fc9c2
domain: switch
- type: turn_off
device_id: a1fdc7c838bdded4d8e90bb7941476a3
entity_id: 84d24335edc946153ed4f81ac7906f3c
domain: switch
mode: single
- id: '1770433866161'
alias: Turn off Kitchen Sink at Sunrise
description: ''
triggers:
- trigger: sun
event: sunrise
offset: 01:00:00
conditions: []
actions:
- type: turn_off
device_id: 40d38ce4c97de6008962e2b3d84896c9
entity_id: d794e094113a14e6de0db3e5d3f65e88
domain: light
mode: single
@@ -0,0 +1,485 @@
# Safety, device, and household alert automations.
- id: '1739061820991'
alias: Turn off washing machine when leak sensed
description: ''
triggers:
- type: moist
device_id: 84e0d8044eb13e64c899357f840dcacb
entity_id: 2f41825acbe754ebfa788a77c197138c
domain: binary_sensor
trigger: device
conditions: []
actions:
- type: turn_off
device_id: 613a1b8ef47539c9d0ebe6a87b13ca26
entity_id: 721e7dd29be7dbcb6e634ec5d505c5f4
domain: switch
- action: notify.notify
metadata: {}
data:
message: Washing Machine Leak Sensor has been triggered - please check!
mode: single
- id: '1739841729184'
alias: Declans Closet Open Notification
description: ''
initial_state: false
triggers:
- trigger: state
entity_id:
- input_boolean.hermes_disabled_automation_placeholder
to: 'on'
conditions:
- condition: time
after: '21:00:00'
before: 07:30:00
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Declans Closet is Open
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Declans Closet is Open
mode: single
- id: '1739841929885'
alias: Jordyns Door Open Notification
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.jordyns_door_door
to: 'on'
conditions:
- condition: time
after: '19:45:00'
before: 07:45:00
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Jordyns door is open
mode: single
- id: '1739842035606'
alias: Declans Door Closed Notification
description: ''
initial_state: false
triggers:
- trigger: state
entity_id:
- input_boolean.hermes_disabled_automation_placeholder
to: 'off'
conditions:
- condition: time
after: '21:00:00'
before: 07:00:00
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Declans Closet is Closed
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Declans Closet is Closed
mode: single
- id: '1739932866970'
alias: Washing Machine Leak Sensor Battery Low Notification
description: ''
triggers:
- trigger: numeric_state
entity_id:
- sensor.washing_machine_water_sensor_battery
below: 25
conditions: []
actions:
- action: notify.persistent_notification
metadata: {}
data:
message: Please change washing machine leak sensor battery soon!
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Please change washing machine leak sensor battery soon!
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Please change washing machine leak sensor battery soon!
mode: single
- id: '1739932945304'
alias: Jordyn's Door Sensor Low Battery Notification
description: ''
triggers:
- trigger: numeric_state
entity_id:
- sensor.jordyns_door_battery
below: 25
conditions: []
actions:
- action: notify.persistent_notification
metadata: {}
data:
message: Please change washing machine leak sensor battery soon!
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Please change washing machine leak sensor battery soon!
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Please change washing machine leak sensor battery soon!
mode: single
- id: '1739933032829'
alias: Deep Freezer Low Battery Notification
description: ''
triggers:
- trigger: numeric_state
entity_id:
- sensor.deep_freezer_battery
below: 25
conditions: []
actions:
- action: notify.persistent_notification
metadata: {}
data:
message: Please change washing machine leak sensor battery soon!
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Please change washing machine leak sensor battery soon!
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Please change washing machine leak sensor battery soon!
mode: single
- id: '1739933290261'
alias: Deep Freezer Left Open Notification
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.deep_freezer_door
to: 'on'
for:
hours: 0
minutes: 2
seconds: 0
conditions: []
actions:
- action: notify.html5
metadata: {}
data:
message: Deep freezer has been left open - please check.
- action: notify.persistent_notification
metadata: {}
data:
message: Deep freezer has been left open - please check.
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Deep freezer has been left open - please check.
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Deep freezer has been left open - please check.
mode: single
- id: '1742155540986'
alias: 'Garage Floodlight Low Battery Notification '
description: ''
triggers:
- trigger: state
entity_id: binary_sensor.garage_floodlight_battery
to: 'on'
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Garage floodlight batteries low
title: Garage floodlight batteries low
mode: single
- id: '1742841280696'
alias: Triple Threat Anti-Stink Juice Empty
description: ''
triggers:
- trigger: state
entity_id:
- sensor.triple_threat_spray_deodorant_liquid
enabled: true
to: '0'
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Triple Threat's Anti-Stinky Juice is Empty
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Triple Threat's Anti-Stinky Juice is Empty
- action: notify.mailgun_smtp
metadata: {}
data:
message: Triple Threat's Anti-Stinky Juice is Empty
title: Triple Threat's Anti-Stinky Juice is Empty
target: joshua@cnjmail.com polly@cnjmail.com
mode: single
- id: '1742841650033'
alias: The Deuce Litter Level
description: ''
triggers:
- trigger: state
entity_id:
- sensor.the_deuce_litter_level
enabled: true
to: '65'
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: The Deuce's Litter is Low
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: The Deuce's Litter is Low
- action: notify.mailgun_smtp
metadata: {}
data:
message: The Deuce's Litter is Low
title: The Deuce's Litter is Low
target: joshua@cnjmail.com
enabled: false
mode: single
- id: '1742841709247'
alias: Triple Threat Litter Level Notification
description: ''
triggers:
- trigger: state
entity_id:
- sensor.triple_threat_litter_level
enabled: true
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Triple Threat's Litter is Low
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Triple Threat's Litter is Low
- action: notify.mailgun_smtp
metadata: {}
data:
message: Triple Threat's Litter is Low
title: Triple Threat's Litter is Low
target: joshua@cnjmail.com
enabled: false
mode: single
- id: '1742841764585'
alias: Cat Crapper 3000 Low Litter Level Notification
description: ''
triggers:
- trigger: state
entity_id:
- sensor.cat_crapper_3000_litter_level
enabled: true
to: '65'
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Cat Crapper 3000's Litter is Low
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Cat Crapper 3000's Litter is Low
mode: single
- id: '1742841838536'
alias: Poop Box Low Litter Level Notification
description: ''
triggers:
- trigger: state
entity_id:
- sensor.poop_box_litter_level
enabled: true
to: '65'
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Poop Box's Litter is Low
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Poop Box's Litter is Low
- action: notify.mailgun_smtp
metadata: {}
data:
message: Poop Box's Litter is Low
title: Poop Box's Litter is Low
target: joshua@cnjmail.com
enabled: falsef
mode: single
- id: '1742842192548'
alias: Cat Crapper 3000 is full of crap notification
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.cat_crapper_3000_wastebin_filled
enabled: true
to: 'on'
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Cat Crapper 3000 is full of crap
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Cat Crapper 3000 is full of crap
- action: notify.mailgun_smtp
metadata: {}
data:
message: Cat Crapper 3000 is full of crap
title: CLEAN Cat Crapper 3000 - it's full of crap
target: joshua@cnjmail.com
enabled: false
mode: single
- id: '1742842261527'
alias: The Deuce is full of deuces notification
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.the_deuce_wastebin_filled
enabled: true
to: 'on'
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: The Deuce is full of deuces (laundry room)
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: The Deuce is full of deuces (laundry room)
- action: notify.mailgun_smtp
metadata: {}
data:
message: The Deuce is full of deuces
title: Too many dueces have been dropped!
target: joshua@cnjmail.com
enabled: false
- action: notify.mobile_app_chloes_iphone
metadata: {}
data:
message: The Deuce is full of deuces (laundry room)
mode: single
- id: '1742842372471'
alias: The Poop Box has runneth over Notification
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.poop_box_wastebin_filled
enabled: true
to: 'on'
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: The Poop Box has runneth over (basement, left side)
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: The Poop Box has runneth over (basement, left side)
- action: notify.mobile_app_chloes_iphone
metadata: {}
data:
message: The Poop Box has runneth over (basement, left side)
- action: notify.mailgun_smtp
metadata: {}
data:
message: The poop box has too many presents!
title: The poop box is bursting!!
target: joshua@cnjmail.com
enabled: false
mode: single
- id: '1742842458817'
alias: Triple Threat Full Notification
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.triple_threat_wastebin_filled
enabled: true
to: 'on'
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Triple Threat can't take no more! (Basement, right side)
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Triple Threat can't take no more! (Basement, right side)
- action: notify.mobile_app_chloes_iphone
metadata: {}
data:
message: Triple Threat can't take no more! (Basement, right side)
- action: notify.mailgun_smtp
metadata: {}
data:
message: The Triple Threat is down for the count!
title: Triple Threat can't take no more!
target: joshua@cnjmail.com
enabled: false
mode: single
- id: '1771090372998'
alias: Declans Closet Door Battery Low Notification
description: ''
initial_state: false
triggers:
- trigger: numeric_state
entity_id:
- input_number.last_unavailable_count
below: 30
conditions: []
actions:
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Declan's closet sensor battery is low.
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Declan's closet sensor battery is low.
mode: single
+107
View File
@@ -0,0 +1,107 @@
# Presence and camera/security automations.
- id: '1742155298923'
alias: Disarm cameras when Joshua comes home
description: ''
triggers:
- trigger: zone
entity_id: device_tracker.joshuas_iphone_of_pain
zone: zone.home
event: enter
conditions: []
actions:
- action: camera.disable_motion_detection
metadata: {}
data: {}
target:
device_id:
- 3df00a0796efe006e4ea349a9752faba
- 0c13483d761efe3b85e534fadd323fe3
- 5aa158596e48441ea606dd881a34402d
- d045a0a68c3c4d52a7beb2a28fdf6993
- 044c43ea05ceff58b1209f6441c24183
mode: single
- id: '1742155338014'
alias: Disable Cameras when Polly comes home
description: ''
triggers:
- trigger: zone
entity_id: device_tracker.pollys_iphone
zone: zone.home
event: enter
conditions: []
actions:
- action: camera.disable_motion_detection
metadata: {}
data: {}
target:
device_id:
- 3df00a0796efe006e4ea349a9752faba
- 0c13483d761efe3b85e534fadd323fe3
- 5aa158596e48441ea606dd881a34402d
- d045a0a68c3c4d52a7beb2a28fdf6993
- 044c43ea05ceff58b1209f6441c24183
mode: single
- id: '1754414591718'
alias: Arm Inside Blink Cameras When Everyone Leaves
description: Arm Blink 'Inside' camera group when both Joshua and Polly are not
home
triggers:
- trigger: zone
entity_id: device_tracker.joshuas_iphone_of_pain
zone: zone.home
event: leave
- trigger: zone
entity_id: device_tracker.pollys_iphone
zone: zone.home
event: leave
conditions:
- condition: device
device_id: eabafa43fa1148e4facc8e5a4151958d
domain: device_tracker
entity_id: 74ded93c7bee3648dccc7f024095b7c6
type: is_not_home
- condition: device
device_id: 638383852928fbd17397baa190c2d853
domain: device_tracker
entity_id: 0f494c69f886f56391b07f0517b0c0f3
type: is_not_home
actions:
- target:
entity_id: alarm_control_panel.blink_inside
action: alarm_control_panel.alarm_arm_away
mode: single
- id: '1758196295864'
alias: Disarm Blink when family is home
description: Arm Blink 'Inside' camera group when both Joshua and Polly are not
home
triggers:
- trigger: zone
entity_id: device_tracker.joshuas_iphone_of_pain
zone: zone.home
event: enter
- trigger: zone
entity_id: device_tracker.pollys_iphone
zone: zone.home
event: enter
conditions:
- condition: device
device_id: eabafa43fa1148e4facc8e5a4151958d
domain: device_tracker
entity_id: 74ded93c7bee3648dccc7f024095b7c6
type: is_home
- condition: device
device_id: 638383852928fbd17397baa190c2d853
domain: device_tracker
entity_id: 0f494c69f886f56391b07f0517b0c0f3
type: is_home
actions:
- action: alarm_control_panel.alarm_disarm
target:
entity_id:
- alarm_control_panel.blink_inside
data: {}
mode: single
+427
View File
@@ -0,0 +1,427 @@
# Kids routines, school prep, and announcement automations.
- id: '1743380000904'
alias: Jordyn-Bedtime-Snack-Notification-Weekend
description: Triggers an Alexa notification at 8:00 PM if the Google Calendar event
is 'Girls at Home'
triggers:
- at: '20:00:00'
trigger: time
enabled: true
conditions:
- condition: time
weekday:
- sat
- sun
- condition: state
entity_id: calendar.family_events
state: 'on'
- condition: template
value_template: '{{ state_attr(''calendar.family_events'', ''message'') == ''Girls
at Home'' }}'
actions:
- data:
message: Jordyn, time to put away screens and get a bedtime snack.
action: notify.alexa_media_living_room
mode: single
- id: '1743381226135'
alias: Jordyn-Bedtime-Snack-Notification
description: Triggers an Alexa notification at 7:30 PM if the Google Family Calendar
event is 'Girls at Home'
triggers:
- trigger: time
at: '20:00:00'
enabled: true
conditions:
- condition: time
weekday:
- mon
- tue
- wed
- condition: state
entity_id: calendar.family_events
state: 'on'
- condition: template
value_template: '{{ state_attr(''calendar.family_events'', ''message'') == ''Girls
at Home'' }}'
actions:
- target:
entity_id: media_player.living_room
data:
media:
media_content_id: Jordyn Weekday Bedtime Routine
media_content_type: routine
metadata: {}
action: media_player.play_media
mode: single
- id: '1743385356527'
alias: Jordyns Light on at 7PM
description: ''
triggers:
- trigger: time
at: '19:00:00'
conditions:
- condition: time
weekday:
- mon
- tue
actions:
- type: turn_on
device_id: ef731a5e6e666bf4fc20cc321f596029
entity_id: 9629035816fddf7de8926e4e4c29aa34
domain: switch
mode: single
- id: '1743385432089'
alias: Jordyns light on weekend
description: ''
triggers:
- trigger: time
at: '19:00:00'
conditions:
- condition: and
conditions:
- condition: time
weekday:
- fri
- sat
- sun
- condition: template
value_template: '{{ now().strftime(''%U'') | int % 2 == 1 }}'
actions:
- type: turn_on
device_id: ef731a5e6e666bf4fc20cc321f596029
entity_id: 9629035816fddf7de8926e4e4c29aa34
domain: switch
mode: single
- id: '1744560941050'
alias: Jordyns Lamp on at 730
description: ''
triggers:
- trigger: time
at: '19:30:00'
conditions: []
actions:
- type: turn_on
device_id: ef731a5e6e666bf4fc20cc321f596029
entity_id: 9629035816fddf7de8926e4e4c29aa34
domain: switch
mode: single
- id: '1744503044129'
alias: Set Alexa Announcement Volume
description: Set Alexa announcement volume for structured daily routine
triggers:
- at: 08:15:00
trigger: time
conditions:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
actions:
- data:
media:
media_content_id: Set kids speakers to 6
media_content_type: routine
metadata: {}
action: media_player.play_media
target:
device_id: 7c55da01c1d0e4ee7900852bb7621b1e
mode: single
- id: '1744503044809'
alias: Daily Alexa Announcements for Kids
description: Schedule of Alexa announcements for structured daily routine
trigger:
- platform: time
at: 09:00:00
- platform: time
at: '10:00:00'
- platform: time
at: '10:15:00'
- platform: time
at: '11:00:00'
- platform: time
at: '12:00:00'
- platform: time
at: '12:30:00'
- platform: time
at: '13:00:00'
- platform: time
at: '13:30:00'
- platform: time
at: '14:00:00'
- platform: time
at: '14:30:00'
- platform: time
at: '19:29:00'
condition:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- service: calendar.get_events
target:
entity_id: calendar.family_events
data:
start_date_time: '{{ today_at(''00:00'') }}'
end_date_time: '{{ today_at(''00:00'') + timedelta(days=1) }}'
response_variable: agenda
- condition: template
value_template: "{{ (agenda['calendar.family_events']['events'] | default([]))\n
\ | selectattr('summary', 'defined')\n | map(attribute='summary')\n | map('lower')\n
\ | select('search', 'camp')\n | list | count == 0 }}\n"
- variables:
messages:
08:00:00: Time for breakfast and a little TV!
09:00:00: Outside play time! If its bad weather, do your learning activities
inside.
'10:00:00': Snack time!
'10:15:00': Time for quiet play or outside fun.
'11:00:00': Creative time! Draw, color, or write something cool!
'12:00:00': Lunch time! Wash up and head to the table.
'12:30:00': Happy Helper Time! Do your chores like a champ!
'13:00:00': TV break — relax and enjoy.
'13:30:00': Time to read a book or listen to a story.
'14:00:00': Lets move! Try a Minecraft brain break!
'14:30:00': Time to relax with mindfulness or yoga.
- service: notify.alexa_media
data:
target:
- media_player.living_room
- media_player.jordyn_s_room
- media_player.chloe_s_room
- media_player.declan_s_room
- media_player.kitchen
message: '{{ messages[now().strftime(''%H:%M:%S'')] }}'
data:
type: announce
method: all
mode: single
- id: '1744503044813'
alias: Announce day camp preparation and pause TV
triggers:
- at: 08:25:00
trigger: time
conditions:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
actions:
- service: calendar.get_events
target:
entity_id: calendar.family_events
data:
start_date_time: '{{ today_at(''00:00'') }}'
end_date_time: '{{ today_at(''00:00'') + timedelta(days=1) }}'
response_variable: agenda
- condition: template
value_template: "{{ (agenda['calendar.family_events']['events'] | default([]))\n
\ | selectattr('summary', 'defined')\n | map(attribute='summary')\n | map('lower')\n
\ | select('search', 'camp')\n | list | count > 0 }}\n"
- target:
entity_id: media_player.hisense_g204x_cd41
action: media_player.media_pause
data: {}
- data:
target:
- media_player.living_room
- media_player.declan_s_room
- media_player.jordyn_s_room
- media_player.kitchen
message: 'Time to prepare for day camp. Please do the following: Fill water
bottles, put on deodorant, brush teeth, and Jordyn, brush your hair.
'
action: notify.alexa_media
mode: single
- id: '1744503044814'
alias: Announce time to leave for day camp and turn off TV
triggers:
- at: 08:40:00
trigger: time
conditions:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
actions:
- service: calendar.get_events
target:
entity_id: calendar.family_events
data:
start_date_time: '{{ today_at(''00:00'') }}'
end_date_time: '{{ today_at(''00:00'') + timedelta(days=1) }}'
response_variable: agenda
- condition: template
value_template: "{{ (agenda['calendar.family_events']['events'] | default([]))\n
\ | selectattr('summary', 'defined')\n | map(attribute='summary')\n | map('lower')\n
\ | select('search', 'camp')\n | list | count > 0 }}\n"
- target:
entity_id: media_player.basement_show
data:
media_content_id: Turn Kids TV Off
media_content_type: routine
action: media_player.play_media
- data:
target:
- media_player.living_room
message: 'It is time to leave for day camp. Please do the following: Put on
shoes, get lunch, get water bottle, and grab your bag if needed.
'
action: notify.alexa_media
- target:
entity_id: media_player.hisense_g204x_cd41
action: media_player.turn_off
data: {}
mode: single
- id: '1744503044145'
alias: Reset Alexa Announcement Volume - Camp Days
description: Set Alexa announcement volume for structured daily routine
trigger:
- platform: time
at: 09:15:00
condition:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- service: calendar.get_events
target:
entity_id: calendar.family_events
data:
start_date_time: '{{ today_at(''00:00'') }}'
end_date_time: '{{ today_at(''00:00'') + timedelta(days=1) }}'
response_variable: agenda
- condition: template
value_template: "{{ (agenda['calendar.family_events']['events'] | default([]))\n
\ | selectattr('summary', 'defined')\n | map(attribute='summary')\n | map('lower')\n
\ | select('search', 'camp')\n | list | count > 0 }}\n"
- service: media_player.play_media
data:
media_content_id: Reset Alexa Volume
media_content_type: routine
target:
entity_id: media_player.basement_show
mode: single
- id: '1744503044146'
alias: Reset Alexa Announcement Volume - No Camp Days
description: Set Alexa announcement volume for structured daily routine
trigger:
- platform: time
at: '19:17:00'
condition:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- service: calendar.get_events
target:
entity_id: calendar.family_events
data:
start_date_time: '{{ today_at(''00:00'') }}'
end_date_time: '{{ today_at(''00:00'') + timedelta(days=1) }}'
response_variable: agenda
- condition: template
value_template: "{{ (agenda['calendar.family_events']['events'] | default([]))\n
\ | selectattr('summary', 'defined')\n | map(attribute='summary')\n | map('lower')\n
\ | select('search', 'camp')\n | list | count == 0 }}\n"
- service: media_player.play_media
data:
media_content_id: Reset Alexa Volume
media_content_type: routine
target:
entity_id: media_player.basement_show
mode: single
- id: '1756211568290'
alias: School Prep Announcement
description: ''
triggers:
- at: 08:20:00
trigger: time
conditions:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
actions:
- target:
entity_id: media_player.hisense_g204x_cd41
action: media_player.media_pause
data: {}
- data:
target:
- media_player.living_room
- media_player.declan_s_room
- media_player.jordyn_s_room
- media_player.kitchen
message: This is your reminder to pack your snack, fill your water bottles,
put on deodorant, socks, and brush your teeth. Jordyn please make sure your
hair is brushed nicely.
action: notify.alexa_media
mode: single
- id: '1756211855375'
alias: Time for School Announcement
description: ''
triggers:
- at: 08:42:00
trigger: time
conditions:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
actions:
- target:
entity_id: media_player.hisense_g204x_cd41
action: media_player.turn_off
data: {}
- data:
target:
- media_player.living_room
- media_player.declan_s_room
- media_player.jordyn_s_room
- media_player.kitchen
message: Time for school! Last call for water bottles, snacks, and socks. Have
a great day!!
action: notify.alexa_media
mode: single
+486
View File
@@ -0,0 +1,486 @@
- id: '1743176311797'
alias: Bambu Lab - Spaghetti Detection
description: ''
use_blueprint:
path: nberktumer/spaghetti_detection.yaml
input:
home_assistant_host: http://192.168.1.86:8123
obico_host: http://192.168.1.85:3333
obico_auth_token: 5b3dd0ff-7e41-47f4-9027-9e609813ae66
printer_current_stage_sensor: sensor.p1s_01p09c470102673_current_stage
printer_print_status_sensor: sensor.p1s_01p09c470102673_print_status
printer_camera: camera.p1s_01p09c470102673_camera
printer_pause_button: button.p1s_01p09c470102673_pause_printing
printer_resume_button: button.p1s_01p09c470102673_resume_printing
printer_stop_button: button.p1s_01p09c470102673_stop_printing
printer_chamber_light: light.p1s_01p09c470102673_chamber_light
detection_frequency: /30
notification_settings: standard
notification_service: notify.mobile_app_joshuas_iphone_of_pain
- id: '1767118574570'
alias: Centauri Carbon Status Updates
description: ''
initial_state: false
use_blueprint:
path: danielcherubini/elegoo_printer_progress.yaml
input:
error_status_reason_entity: sensor.saturn_iv_error_status_reason
notify_device: eabafa43fa1148e4facc8e5a4151958d
current_status_entity: sensor.saturn_iv_current_status
print_status_entity: sensor.saturn_iv_print_status
percent_complete_entity: sensor.saturn_iv_percent_complete
- id: '1767118623336'
alias: Saturn Status Notifications
description: ''
use_blueprint:
path: danielcherubini/elegoo_printer_progress.yaml
input:
percent_complete_entity: sensor.saturn_iv_percent_complete
print_status_entity: sensor.saturn_iv_print_status
current_status_entity: sensor.saturn_iv_current_status
error_status_reason_entity: sensor.saturn_iv_error_status_reason
notify_device: eabafa43fa1148e4facc8e5a4151958d
enable_status_notifications: false
- id: '1767120051057'
alias: Turn off Heater and Exhaust Fan after Resin Print
description: ''
triggers:
- trigger: state
entity_id:
- sensor.saturn_iv_print_status
from: null
to:
- complete
conditions: []
actions:
- delay:
hours: 0
minutes: 5
seconds: 0
milliseconds: 0
- type: turn_off
device_id: fc9f0c9a71eaa4bd6aa14417425f61cb
entity_id: a91e4bedcc7c5d57563d88bd58d67c9c
domain: switch
- delay:
hours: 0
minutes: 5
seconds: 0
milliseconds: 0
- type: turn_off
device_id: 1b1350195291ecd20cf7c69604c09699
entity_id: 74c861175e7d5036c2253583f59d1100
domain: switch
mode: single
- id: '1767816737180'
alias: Saturn 4 Complete Notification
description: ''
triggers:
- trigger: state
entity_id:
- sensor.saturn_iv_print_status
to:
- complete
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Saturn 4 print complete.
mode: single
- id: '1769017759647'
alias: Turn-on-Saturn-4-ESP-Cam-Light
description: ''
triggers:
- trigger: state
entity_id:
- sensor.saturn_iv_print_status
to:
- printing
conditions: []
actions:
- type: turn_on
device_id: a2c694d04457b843b9c88c95a7f37217
entity_id: 194545427a0728392552740cc750bc98
domain: light
brightness_pct: 100
mode: single
- id: '1769017886614'
alias: Turn-Off-ESPSATURNCAM-Light-After-Printing
description: ''
triggers:
- trigger: state
entity_id:
- sensor.saturn_iv_print_status
to:
- complete
conditions: []
actions:
- type: turn_off
device_id: a2c694d04457b843b9c88c95a7f37217
entity_id: 194545427a0728392552740cc750bc98
domain: light
mode: single
- id: '1770938475431'
alias: Jordyn-A1-lights-on-during-print
description: ''
triggers:
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
domain: bambu_lab
type: event_print_started
trigger: device
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
domain: bambu_lab
type: event_print_error_cleared
trigger: device
conditions: []
actions:
- action: light.turn_on
metadata: {}
target:
entity_id: light.jordyns_layer_slayer_chamber_light
data: {}
- type: turn_on
device_id: d174bbc498cde1d02e455cb133c04675
entity_id: 0736793ae0d143db76ea7c64d86f4268
domain: switch
- action: light.turn_on
metadata: {}
target:
entity_id: light.jordyn_s_led_controller_jordyn_s_led_controller
data:
color_temp_kelvin: 6500
brightness_pct: 100
mode: single
- id: '1770938581699'
alias: Ds turd flinger Light on during print
description: ''
triggers:
- device_id: 299743e9ce66334a0f3bac10eb24cf31
domain: bambu_lab
type: event_print_started
trigger: device
- device_id: 299743e9ce66334a0f3bac10eb24cf31
domain: bambu_lab
type: event_print_error_cleared
trigger: device
conditions: []
actions:
- action: light.turn_on
metadata: {}
target:
entity_id:
- light.a1_03919d540806387_chamber_light
- light.led_controller_polly_pocket_declan_s_led_controller
data:
color_temp_kelvin: 6500
brightness_pct: 100
- type: turn_on
device_id: c63f4513655bdd5b44b998f45b491136
entity_id: fe6d0eee24eb1b397d37b7389137b5b5
domain: switch
mode: single
- id: '1770938855253'
alias: Jordyn-a1-light-off-print-send
description: ''
triggers:
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
domain: bambu_lab
type: event_print_finished
trigger: device
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
domain: bambu_lab
type: event_print_canceled
trigger: device
conditions: []
actions:
- action: light.turn_off
metadata: {}
target:
entity_id:
- light.jordyns_layer_slayer_chamber_light
- light.jordyn_s_led_controller_jordyn_s_led_controller
data:
transition: 60
- type: turn_off
device_id: d174bbc498cde1d02e455cb133c04675
entity_id: 0736793ae0d143db76ea7c64d86f4268
domain: switch
mode: single
- id: '1770943298493'
alias: Ds turd flinger Light Off after print
description: ''
triggers:
- device_id: 299743e9ce66334a0f3bac10eb24cf31
domain: bambu_lab
type: event_print_finished
trigger: device
- device_id: 299743e9ce66334a0f3bac10eb24cf31
domain: bambu_lab
type: event_print_canceled
trigger: device
conditions: []
actions:
- action: light.turn_off
metadata: {}
target:
entity_id:
- light.a1_03919d540806387_chamber_light
- light.led_controller_polly_pocket_declan_s_led_controller
data: {}
- type: turn_off
device_id: c63f4513655bdd5b44b998f45b491136
entity_id: fe6d0eee24eb1b397d37b7389137b5b5
domain: switch
mode: single
- id: '1770943760193'
alias: Jordyn-A1-Flash-Red-When-Print-Error
description: ''
triggers:
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
domain: bambu_lab
type: event_print_error
trigger: device
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
domain: bambu_lab
type: event_print_failed
trigger: device
conditions: []
actions:
- action: light.turn_on
metadata: {}
target:
entity_id: light.jordyn_s_led_controller_jordyn_s_led_controller
data:
rgb_color:
- 255
- 0
- 0
effect: Flash
brightness_pct: 100
- type: turn_off
device_id: d174bbc498cde1d02e455cb133c04675
entity_id: 0736793ae0d143db76ea7c64d86f4268
domain: switch
- action: light.turn_off
metadata: {}
target:
entity_id: light.jordyns_layer_slayer_chamber_light
data: {}
mode: single
- id: '1770944104889'
alias: Pints-Charming-Lights-On-Print-Started
description: 'Repaired by agent: replaced deleted Bambu device trigger with P1S
print_status entity trigger.'
triggers:
- trigger: state
entity_id: sensor.p1s_01p09c470102673_print_status
to:
- printing
- running
conditions: []
actions:
- action: light.turn_on
metadata: {}
target:
entity_id: light.p1s_01p09c470102673_chamber_light
data: {}
mode: single
- id: '1770944259063'
alias: Constipation-Orion-Light-On-When-Print-Starts
description: ''
triggers:
- device_id: 615a0b19447425670a6b61ec2343c791
domain: bambu_lab
type: event_print_started
trigger: device
conditions: []
actions:
- action: light.turn_on
metadata: {}
target:
entity_id: light.constipation_orion_chamber_light
data: {}
mode: single
- id: '1770944373316'
alias: Constipation-Orion-Light-Off-Print-Finishes
description: ''
triggers:
- device_id: 615a0b19447425670a6b61ec2343c791
domain: bambu_lab
type: event_print_finished
trigger: device
conditions: []
actions:
- action: light.turn_off
metadata: {}
target:
entity_id: light.constipation_orion_chamber_light
data: {}
mode: single
- id: '1770944453024'
alias: Prints-Charming-Light-Off-Print-Completes
description: 'Repaired by agent: replaced deleted Bambu device trigger with P1S
print_status entity trigger.'
triggers:
- trigger: state
entity_id: sensor.p1s_01p09c470102673_print_status
to:
- finish
- complete
- completed
- idle
- failed
- cancelled
conditions:
- condition: template
value_template: '{{ trigger.from_state is not none and trigger.from_state.state
in [''printing'',''running''] }}'
actions:
- action: light.turn_off
metadata: {}
data: {}
target:
entity_id: light.p1s_01p09c470102673_chamber_light
mode: single
- id: '1771272500745'
alias: polly-pocket-a1-mini-lights-on-during-print
description: ''
triggers:
- device_id: 1cf63ab34db5ac50291c1477cddf2b9a
domain: bambu_lab
type: event_print_started
trigger: device
conditions: []
actions:
- action: light.turn_on
metadata: {}
target:
entity_id:
- light.a1mini_0309ca580403653_chamber_light
- light.polly_s_led_controller_polly_s_led_controller
data:
color_temp_kelvin: 6500
brightness_pct: 100
- type: turn_on
device_id: a78c9554b983d1e2459194cc0fee22d3
entity_id: d430d19aa2f118038cb01a3157865ed0
domain: switch
mode: single
- id: '1771272773906'
alias: polly-pocket-a1-mini-lights-off-during-print
description: ''
triggers:
- device_id: 1cf63ab34db5ac50291c1477cddf2b9a
domain: bambu_lab
type: event_print_finished
trigger: device
- device_id: 1cf63ab34db5ac50291c1477cddf2b9a
domain: bambu_lab
type: event_print_canceled
trigger: device
conditions: []
actions:
- action: light.turn_off
metadata: {}
target:
entity_id:
- light.a1mini_0309ca580403653_chamber_light
- light.polly_s_led_controller_polly_s_led_controller
data: {}
- type: turn_off
device_id: a78c9554b983d1e2459194cc0fee22d3
entity_id: d430d19aa2f118038cb01a3157865ed0
domain: switch
mode: single
- id: '1772979000001'
alias: Constipation-Orion 80mm Exhaust Fan On During Print
description: ''
triggers:
- trigger: device
device_id: 615a0b19447425670a6b61ec2343c791
domain: bambu_lab
type: event_print_started
conditions: []
actions:
- action: fan.turn_on
target:
entity_id: fan.fdm_exhaust_fan_control_80mm_exhaust_fan
mode: single
- id: '1772979000002'
alias: Turn Off 80mm Exhaust Fan 15 Minutes After Constipation-Orion Print Finishes
description: ''
triggers:
- trigger: device
device_id: 615a0b19447425670a6b61ec2343c791
domain: bambu_lab
type: event_print_finished
- trigger: device
device_id: 615a0b19447425670a6b61ec2343c791
domain: bambu_lab
type: event_print_canceled
conditions: []
actions:
- action: fan.turn_on
target:
entity_id: fan.fdm_exhaust_fan_control_80mm_exhaust_fan
- delay:
hours: 0
minutes: 15
seconds: 0
- condition: template
value_template: '{{ states(''sensor.constipation_orion_print_status'') != ''printing''
}}'
- action: fan.turn_off
target:
entity_id: fan.fdm_exhaust_fan_control_80mm_exhaust_fan
mode: restart
- id: '1772979000003'
alias: Prints Charming Or Printney Spears 120mm Exhaust Fan On During Print
description: 'Repaired by agent: replaced deleted Bambu device trigger with P1S
print_status entity trigger.'
triggers:
- trigger: state
entity_id: sensor.p1s_01p09c470102673_print_status
to:
- printing
- running
conditions: []
actions:
- action: fan.turn_on
target:
entity_id: fan.fdm_exhaust_fan_control_120mm_exhaust_fan
mode: single
- id: '1772979000004'
alias: Turn Off 120mm Exhaust Fan 15 Minutes After Print Completion
description: 'Repaired by agent: replaced deleted Bambu device triggers with P1S
print_status entity trigger.'
triggers:
- trigger: state
entity_id: sensor.p1s_01p09c470102673_print_status
to:
- finish
- complete
- completed
- idle
- failed
- cancelled
conditions:
- condition: template
value_template: '{{ trigger.from_state is not none and trigger.from_state.state
in [''printing'',''running''] }}'
actions:
- action: fan.turn_on
target:
entity_id: fan.fdm_exhaust_fan_control_120mm_exhaust_fan
- delay:
hours: 0
minutes: 15
seconds: 0
- condition: template
value_template: '{{ states(''sensor.p1s_01p09c470102673_print_status'') != ''printing''
}}'
- action: fan.turn_off
target:
entity_id: fan.fdm_exhaust_fan_control_120mm_exhaust_fan
mode: restart
@@ -0,0 +1,111 @@
- id: '1772978762478'
alias: Kiosk Rotate Dashboards
description: During 8:30 AM-4:00 PM, show summer schedule only on weekdays with
no camp event today; otherwise rotate normally.
triggers:
- minutes: /1
trigger: time_pattern
actions:
- action: calendar.get_events
target:
entity_id: calendar.family_events
data:
start_date_time: '{{ today_at(''00:00'') }}'
end_date_time: '{{ today_at(''00:00'') + timedelta(days=1) }}'
response_variable: agenda
- variables:
camp_events: '{{ (agenda[''calendar.family_events''][''events''] | default([]))
| selectattr(''summary'', ''defined'') | map(attribute=''summary'') | map(''lower'')
| select(''search'', ''camp'') | list | count }}'
should_show_summer: '{{ now().weekday() < 5 and today_at(''08:29:59'') <= now()
< today_at(''16:00'') and (camp_events | int(0)) == 0 }}'
current_view: '{{ states(''input_select.kiosk_view'') }}'
- choose:
- conditions:
- condition: template
value_template: '{{ should_show_summer | bool }}'
sequence:
- action: input_select.select_option
target:
entity_id: input_select.kiosk_view
data:
option: summer-schedule-kiosk
- conditions:
- condition: template
value_template: '{{ current_view == ''summer-schedule-kiosk'' and not (should_show_summer
| bool) }}'
sequence:
- action: input_select.select_next
target:
entity_id: input_select.kiosk_view
data:
cycle: true
default:
- action: input_select.select_next
target:
entity_id: input_select.kiosk_view
data:
cycle: true
mode: single
- id: '1772978826069'
alias: Kiosk Navigate Display
description: ''
triggers:
- trigger: state
entity_id: input_select.kiosk_view
actions:
- data:
browser_id:
- raspberry-kiosk
path: /{{ states('input_select.kiosk_view') }}
action: browser_mod.navigate
mode: restart
- id: '1774407470375'
alias: ESPHome Fleet Update
description: ''
triggers:
- at: 03:00:00
trigger: time
- event_type: esphome_fleet_update_trigger
trigger: event
conditions:
- condition: template
value_template: "{{ expand(integration_entities('esphome'))\n | selectattr('entity_id',\
\ 'contains', 'update')\n | selectattr('state', 'eq', 'on')\n | list | count\
\ > 0 }}\n"
actions:
- variables:
pending_devices: "{{ expand(integration_entities('esphome'))\n | selectattr('entity_id',\
\ 'contains', 'update')\n | selectattr('state', 'eq', 'on')\n | map(attribute='entity_id')\
\ | list }}\n"
pending_names: "{{ expand(integration_entities('esphome'))\n | selectattr('entity_id',\
\ 'contains', 'update')\n | selectattr('state', 'eq', 'on')\n | map(attribute='name')\
\ | join(', ') }}\n"
- action: notify.persistent_notification
data:
title: ESPHome Fleet Update Starting
message: 'Updating {{ pending_devices | count }} device(s): {{ pending_names
}}
'
- repeat:
for_each: '{{ pending_devices }}'
sequence:
- action: update.install
target:
entity_id: '{{ repeat.item }}'
continue_on_error: true
- wait_template: '{{ not is_state(repeat.item, ''on'') }}
'
timeout: 00:05:00
continue_on_timeout: true
- delay:
minutes: 2
- action: notify.persistent_notification
data:
title: ESPHome Fleet Update Complete
message: 'Finished updating {{ pending_devices | count }} device(s): {{ pending_names
}}
'
+44
View File
@@ -0,0 +1,44 @@
# Climate and plug automations.
- id: hermes_ac_controls_matter_plugs
alias: AC controls Matter plugs
description: Turn the four Tapo Matter plugs on while the Ecobee is actively cooling, and off when cooling stops.
mode: restart
triggers:
- trigger: state
entity_id: climate.meat_heater
attribute: hvac_action
to: cooling
id: ac_on
- trigger: state
entity_id: climate.meat_heater
attribute: hvac_action
from: cooling
id: ac_off
conditions: []
actions:
- choose:
- conditions:
- condition: trigger
id: ac_on
sequence:
- action: switch.turn_on
continue_on_error: true
target:
entity_id:
- switch.smart_wi_fi_plug
- switch.smart_wi_fi_plug_2
- switch.smart_wi_fi_plug_3
- switch.smart_wi_fi_plug_4
- conditions:
- condition: trigger
id: ac_off
sequence:
- action: switch.turn_off
continue_on_error: true
target:
entity_id:
- switch.smart_wi_fi_plug
- switch.smart_wi_fi_plug_2
- switch.smart_wi_fi_plug_3
- switch.smart_wi_fi_plug_4
@@ -0,0 +1,73 @@
# ------------------------------------------------------------
# BAMBU: PrintsCharming (P1S)
# ------------------------------------------------------------
- alias: "Print Log - PrintsCharming - Start"
id: print_log_printcharming_start
description: "Creates Notion entry when PrintsCharming begins printing"
mode: single
trigger:
- platform: state
entity_id: sensor.p1s_01p09c470102673_print_status
to: "running"
condition:
- condition: template
value_template: "{{ trigger.from_state.state != 'running' }}"
- condition: template
value_template: "{{ states('input_text.notion_page_id_printcharming') | length < 10 }}"
action:
- delay: "00:00:05"
- action: rest_command.notion_create_print
data:
file_name: "{{ states('sensor.p1s_01p09c470102673_gcode_filename') }}"
printer_name: "PrintsCharming"
filament_type: "{{ state_attr('sensor.p1s_01p09c470102673_active_tray', 'type') | default('Unknown') }}"
filament_color: "{{ state_attr('sensor.p1s_01p09c470102673_active_tray', 'color') | default('Unknown') }}"
started: "{{ now().strftime('%Y-%m-%dT%H:%M:%S') }}"
response_variable: notion_response
- action: input_text.set_value
target:
entity_id: input_text.notion_page_id_printcharming
data:
value: "{{ notion_response.content.id | default('') }}"
- alias: "Print Log - PrintsCharming - Finish"
id: print_log_printcharming_finish
description: "Updates Notion entry when PrintsCharming finishes, fails, or is cancelled"
mode: single
trigger:
- platform: state
entity_id: sensor.p1s_01p09c470102673_print_status
to: "finish"
id: completed
- platform: state
entity_id: sensor.p1s_01p09c470102673_print_status
to: "failed"
id: failed
- platform: state
entity_id: sensor.p1s_01p09c470102673_print_status
to: "cancelled"
id: cancelled
condition:
- condition: template
value_template: "{{ states('input_text.notion_page_id_printcharming') | length > 10 }}"
action:
- delay: "00:00:05"
- variables:
page_id: "{{ states('input_text.notion_page_id_printcharming') }}"
- condition: template
value_template: "{{ page_id | length > 10 }}"
- action: rest_command.notion_update_print
data:
page_id: "{{ page_id }}"
status: >
{% if trigger.id == 'completed' %}Completed
{% elif trigger.id == 'failed' %}Failed
{% else %}Cancelled{% endif %}
weight: "{{ states('sensor.p1s_01p09c470102673_print_weight') | float(0) }}"
length: "{{ states('sensor.p1s_01p09c470102673_print_length') | float(0) }}"
completed: "{{ now().strftime('%Y-%m-%dT%H:%M:%S') }}"
- action: input_text.set_value
target:
entity_id: input_text.notion_page_id_printcharming
data:
value: ""
@@ -0,0 +1,73 @@
# ------------------------------------------------------------
# BAMBU: Ds-Turd-Flinger (A1)
# ------------------------------------------------------------
- alias: "Print Log - Ds-Turd-Flinger - Start"
id: print_log_turd_flinger_start
description: "Creates Notion entry when Ds-Turd-Flinger begins printing"
mode: single
trigger:
- platform: state
entity_id: sensor.a1_03919d540806387_print_status
to: "running"
condition:
- condition: template
value_template: "{{ trigger.from_state.state != 'running' }}"
- condition: template
value_template: "{{ states('input_text.notion_page_id_turd_flinger') | length < 10 }}"
action:
- delay: "00:00:05"
- action: rest_command.notion_create_print
data:
file_name: "{{ states('sensor.a1_03919d540806387_gcode_filename') }}"
printer_name: "Ds-Turd-Flinger"
filament_type: "{{ state_attr('sensor.a1_03919d540806387_active_tray', 'type') | default('Unknown') }}"
filament_color: "{{ state_attr('sensor.a1_03919d540806387_active_tray', 'color') | default('Unknown') }}"
started: "{{ now().strftime('%Y-%m-%dT%H:%M:%S') }}"
response_variable: notion_response
- action: input_text.set_value
target:
entity_id: input_text.notion_page_id_turd_flinger
data:
value: "{{ notion_response.content.id | default('') }}"
- alias: "Print Log - Ds-Turd-Flinger - Finish"
id: print_log_turd_flinger_finish
description: "Updates Notion entry when Ds-Turd-Flinger finishes, fails, or is cancelled"
mode: single
trigger:
- platform: state
entity_id: sensor.a1_03919d540806387_print_status
to: "finish"
id: completed
- platform: state
entity_id: sensor.a1_03919d540806387_print_status
to: "failed"
id: failed
- platform: state
entity_id: sensor.a1_03919d540806387_print_status
to: "cancelled"
id: cancelled
condition:
- condition: template
value_template: "{{ states('input_text.notion_page_id_turd_flinger') | length > 10 }}"
action:
- delay: "00:00:05"
- variables:
page_id: "{{ states('input_text.notion_page_id_turd_flinger') }}"
- condition: template
value_template: "{{ page_id | length > 10 }}"
- action: rest_command.notion_update_print
data:
page_id: "{{ page_id }}"
status: >
{% if trigger.id == 'completed' %}Completed
{% elif trigger.id == 'failed' %}Failed
{% else %}Cancelled{% endif %}
weight: "{{ states('sensor.a1_03919d540806387_print_weight') | float(0) }}"
length: "{{ states('sensor.a1_03919d540806387_print_length') | float(0) }}"
completed: "{{ now().strftime('%Y-%m-%dT%H:%M:%S') }}"
- action: input_text.set_value
target:
entity_id: input_text.notion_page_id_turd_flinger
data:
value: ""
@@ -0,0 +1,73 @@
# ------------------------------------------------------------
# BAMBU: Polly-Pocket (A1 Mini)
# ------------------------------------------------------------
- alias: "Print Log - Polly-Pocket - Start"
id: print_log_polly_pocket_start
description: "Creates Notion entry when Polly-Pocket begins printing"
mode: single
trigger:
- platform: state
entity_id: sensor.a1mini_0309ca580403653_print_status
to: "running"
condition:
- condition: template
value_template: "{{ trigger.from_state.state != 'running' }}"
- condition: template
value_template: "{{ states('input_text.notion_page_id_polly_pocket') | length < 10 }}"
action:
- delay: "00:00:05"
- action: rest_command.notion_create_print
data:
file_name: "{{ states('sensor.a1mini_0309ca580403653_gcode_filename') }}"
printer_name: "Polly-Pocket"
filament_type: "{{ state_attr('sensor.a1mini_0309ca580403653_active_tray', 'type') | default('Unknown') }}"
filament_color: "{{ state_attr('sensor.a1mini_0309ca580403653_active_tray', 'color') | default('Unknown') }}"
started: "{{ now().strftime('%Y-%m-%dT%H:%M:%S') }}"
response_variable: notion_response
- action: input_text.set_value
target:
entity_id: input_text.notion_page_id_polly_pocket
data:
value: "{{ notion_response.content.id | default('') }}"
- alias: "Print Log - Polly-Pocket - Finish"
id: print_log_polly_pocket_finish
description: "Updates Notion entry when Polly-Pocket finishes, fails, or is cancelled"
mode: single
trigger:
- platform: state
entity_id: sensor.a1mini_0309ca580403653_print_status
to: "finish"
id: completed
- platform: state
entity_id: sensor.a1mini_0309ca580403653_print_status
to: "failed"
id: failed
- platform: state
entity_id: sensor.a1mini_0309ca580403653_print_status
to: "cancelled"
id: cancelled
condition:
- condition: template
value_template: "{{ states('input_text.notion_page_id_polly_pocket') | length > 10 }}"
action:
- delay: "00:00:05"
- variables:
page_id: "{{ states('input_text.notion_page_id_polly_pocket') }}"
- condition: template
value_template: "{{ page_id | length > 10 }}"
- action: rest_command.notion_update_print
data:
page_id: "{{ page_id }}"
status: >
{% if trigger.id == 'completed' %}Completed
{% elif trigger.id == 'failed' %}Failed
{% else %}Cancelled{% endif %}
weight: "{{ states('sensor.a1mini_0309ca580403653_print_weight') | float(0) }}"
length: "{{ states('sensor.a1mini_0309ca580403653_print_length') | float(0) }}"
completed: "{{ now().strftime('%Y-%m-%dT%H:%M:%S') }}"
- action: input_text.set_value
target:
entity_id: input_text.notion_page_id_polly_pocket
data:
value: ""
@@ -0,0 +1,73 @@
# ------------------------------------------------------------
# BAMBU: Constipation-Orion
# ------------------------------------------------------------
- alias: "Print Log - Constipation-Orion - Start"
id: print_log_constipation_orion_start
description: "Creates Notion entry when Constipation-Orion begins printing"
mode: single
trigger:
- platform: state
entity_id: sensor.constipation_orion_print_status
to: "running"
condition:
- condition: template
value_template: "{{ trigger.from_state.state != 'running' }}"
- condition: template
value_template: "{{ states('input_text.notion_page_id_constipation_orion') | length < 10 }}"
action:
- delay: "00:00:05"
- action: rest_command.notion_create_print
data:
file_name: "{{ states('sensor.constipation_orion_gcode_filename') }}"
printer_name: "Constipation-Orion"
filament_type: "{{ state_attr('sensor.constipation_orion_active_tray', 'type') | default('Unknown') }}"
filament_color: "{{ state_attr('sensor.constipation_orion_active_tray', 'color') | default('Unknown') }}"
started: "{{ now().strftime('%Y-%m-%dT%H:%M:%S') }}"
response_variable: notion_response
- action: input_text.set_value
target:
entity_id: input_text.notion_page_id_constipation_orion
data:
value: "{{ notion_response.content.id | default('') }}"
- alias: "Print Log - Constipation-Orion - Finish"
id: print_log_constipation_orion_finish
description: "Updates Notion entry when Constipation-Orion finishes, fails, or is cancelled"
mode: single
trigger:
- platform: state
entity_id: sensor.constipation_orion_print_status
to: "finish"
id: completed
- platform: state
entity_id: sensor.constipation_orion_print_status
to: "failed"
id: failed
- platform: state
entity_id: sensor.constipation_orion_print_status
to: "cancelled"
id: cancelled
condition:
- condition: template
value_template: "{{ states('input_text.notion_page_id_constipation_orion') | length > 10 }}"
action:
- delay: "00:00:05"
- variables:
page_id: "{{ states('input_text.notion_page_id_constipation_orion') }}"
- condition: template
value_template: "{{ page_id | length > 10 }}"
- action: rest_command.notion_update_print
data:
page_id: "{{ page_id }}"
status: >
{% if trigger.id == 'completed' %}Completed
{% elif trigger.id == 'failed' %}Failed
{% else %}Cancelled{% endif %}
weight: "{{ states('sensor.constipation_orion_print_weight') | float(0) }}"
length: "{{ states('sensor.constipation_orion_print_length') | float(0) }}"
completed: "{{ now().strftime('%Y-%m-%dT%H:%M:%S') }}"
- action: input_text.set_value
target:
entity_id: input_text.notion_page_id_constipation_orion
data:
value: ""
@@ -0,0 +1,73 @@
# ------------------------------------------------------------
# BAMBU: Jordyns-Layer-Slayer
# ------------------------------------------------------------
- alias: "Print Log - Jordyns-Layer-Slayer - Start"
id: print_log_jordyns_layer_slayer_start
description: "Creates Notion entry when Jordyns-Layer-Slayer begins printing"
mode: single
trigger:
- platform: state
entity_id: sensor.jordyns_layer_slayer_print_status
to: "running"
condition:
- condition: template
value_template: "{{ trigger.from_state.state != 'running' }}"
- condition: template
value_template: "{{ states('input_text.notion_page_id_jordyns_layer_slayer') | length < 10 }}"
action:
- delay: "00:00:05"
- action: rest_command.notion_create_print
data:
file_name: "{{ states('sensor.jordyns_layer_slayer_gcode_filename') }}"
printer_name: "Jordyns-Layer-Slayer"
filament_type: "{{ state_attr('sensor.jordyns_layer_slayer_active_tray', 'type') | default('Unknown') }}"
filament_color: "{{ state_attr('sensor.jordyns_layer_slayer_active_tray', 'color') | default('Unknown') }}"
started: "{{ now().strftime('%Y-%m-%dT%H:%M:%S') }}"
response_variable: notion_response
- action: input_text.set_value
target:
entity_id: input_text.notion_page_id_jordyns_layer_slayer
data:
value: "{{ notion_response.content.id | default('') }}"
- alias: "Print Log - Jordyns-Layer-Slayer - Finish"
id: print_log_jordyns_layer_slayer_finish
description: "Updates Notion entry when Jordyns-Layer-Slayer finishes, fails, or is cancelled"
mode: single
trigger:
- platform: state
entity_id: sensor.jordyns_layer_slayer_print_status
to: "finish"
id: completed
- platform: state
entity_id: sensor.jordyns_layer_slayer_print_status
to: "failed"
id: failed
- platform: state
entity_id: sensor.jordyns_layer_slayer_print_status
to: "cancelled"
id: cancelled
condition:
- condition: template
value_template: "{{ states('input_text.notion_page_id_jordyns_layer_slayer') | length > 10 }}"
action:
- delay: "00:00:05"
- variables:
page_id: "{{ states('input_text.notion_page_id_jordyns_layer_slayer') }}"
- condition: template
value_template: "{{ page_id | length > 10 }}"
- action: rest_command.notion_update_print
data:
page_id: "{{ page_id }}"
status: >
{% if trigger.id == 'completed' %}Completed
{% elif trigger.id == 'failed' %}Failed
{% else %}Cancelled{% endif %}
weight: "{{ states('sensor.jordyns_layer_slayer_print_weight') | float(0) }}"
length: "{{ states('sensor.jordyns_layer_slayer_print_length') | float(0) }}"
completed: "{{ now().strftime('%Y-%m-%dT%H:%M:%S') }}"
- action: input_text.set_value
target:
entity_id: input_text.notion_page_id_jordyns_layer_slayer
data:
value: ""
@@ -0,0 +1,75 @@
# ------------------------------------------------------------
# ELEGOO: Printney Spears (Centauri Carbon)
# Note: Uses current_status + file_name sensors (Elegoo integration)
# No weight, length, or filament data available
# Status values: "printing" / "complete" / "failed" — verify in Dev Tools
# ------------------------------------------------------------
- alias: "Print Log - Printney Spears - Start"
id: print_log_printney_spears_start
description: "Creates Notion entry when Printney Spears begins printing"
initial_state: false
mode: single
trigger:
- platform: state
entity_id: sensor.saturn_iv_print_status
from:
- "idle"
- "stopped"
- "complete"
to: "printing"
condition:
- condition: template
value_template: "{{ states('input_text.notion_page_id_centauri_carbon') | length < 10 }}"
action:
- delay: "00:00:05"
- action: rest_command.notion_create_print
data:
file_name: "{{ states('sensor.centauri_carbon_file_name') }}"
printer_name: "Printney Spears"
filament_type: "Unknown"
filament_color: "Unknown"
started: "{{ now().strftime('%Y-%m-%dT%H:%M:%S') }}"
response_variable: notion_response
- action: input_text.set_value
target:
entity_id: input_text.notion_page_id_centauri_carbon
data:
value: "{{ notion_response.content.id | default('') }}"
- alias: "Print Log - Printney Spears - Finish"
id: print_log_printney_spears_finish
description: "Updates Notion entry when Printney Spears finishes or fails"
initial_state: false
mode: single
trigger:
- platform: state
entity_id: sensor.saturn_iv_print_status
to: "complete"
id: completed
- platform: state
entity_id: sensor.saturn_iv_print_status
to: "failed"
id: failed
condition:
- condition: template
value_template: "{{ states('input_text.notion_page_id_centauri_carbon') | length > 10 }}"
action:
- delay: "00:00:05"
- variables:
page_id: "{{ states('input_text.notion_page_id_centauri_carbon') }}"
- condition: template
value_template: "{{ page_id | length > 10 }}"
- action: rest_command.notion_update_print
data:
page_id: "{{ page_id }}"
status: >
{% if trigger.id == 'completed' %}Completed
{% else %}Failed{% endif %}
weight: 0
length: 0
completed: "{{ now().strftime('%Y-%m-%dT%H:%M:%S') }}"
- action: input_text.set_value
target:
entity_id: input_text.notion_page_id_centauri_carbon
data:
value: ""
@@ -0,0 +1,73 @@
# ------------------------------------------------------------
# ELEGOO: Saturn (resin printer)
# Note: Uses current_status + file_name sensors (Elegoo integration)
# No weight, length, or filament data available
# Status values: "printing" / "complete" / "failed" — verify in Dev Tools
# ------------------------------------------------------------
- alias: "Print Log - Saturn - Start"
id: print_log_saturn_start
description: "Creates Notion entry when Saturn begins printing"
mode: single
trigger:
- platform: state
entity_id: sensor.saturn_iv_print_status
from:
- "idle"
- "stopped"
- "complete"
to: "printing"
condition:
- condition: template
value_template: "{{ states('input_text.notion_page_id_saturn') | length < 10 }}"
action:
- delay: "00:00:05"
- action: rest_command.notion_create_print
data:
file_name: "{{ states('sensor.saturn_file_name') }}"
printer_name: "Saturn"
filament_type: "Unknown"
filament_color: "Unknown"
started: "{{ now().strftime('%Y-%m-%dT%H:%M:%S') }}"
response_variable: notion_response
- action: input_text.set_value
target:
entity_id: input_text.notion_page_id_saturn
data:
value: "{{ notion_response.content.id | default('') }}"
- alias: "Print Log - Saturn - Finish"
id: print_log_saturn_finish
description: "Updates Notion entry when Saturn finishes or fails"
mode: single
trigger:
- platform: state
entity_id: sensor.saturn_iv_print_status
to: "complete"
id: completed
- platform: state
entity_id: sensor.saturn_iv_print_status
to: "failed"
id: failed
condition:
- condition: template
value_template: "{{ states('input_text.notion_page_id_saturn') | length > 10 }}"
action:
- delay: "00:00:05"
- variables:
page_id: "{{ states('input_text.notion_page_id_saturn') }}"
- condition: template
value_template: "{{ page_id | length > 10 }}"
- action: rest_command.notion_update_print
data:
page_id: "{{ page_id }}"
status: >
{% if trigger.id == 'completed' %}Completed
{% else %}Failed{% endif %}
weight: 0
length: 0
completed: "{{ now().strftime('%Y-%m-%dT%H:%M:%S') }}"
- action: input_text.set_value
target:
entity_id: input_text.notion_page_id_saturn
data:
value: ""