automations.yaml, zigbee2mqtt/state.json

This commit is contained in:
Home Assistant Version Control committed 2026-10-01 15:19:20 +00:00
1 parent 4dee0a645f
commit 86ba055b6a
2 files changed
+27 -14

No files matched your search

+15 -2
View File
@@ -3541,8 +3541,8 @@
- id: '1787462157568'
alias: 3D Print Early Layers Snapshot
description: Telegram-only snapshots from all 3 printer cameras. Fires when Z crosses
1.0 mm, then again at 25%, 50% and 75% print progress. One set of photos per milestone,
sent as a Telegram album.
1.0 mm, then again at 25%, 50% and 75% print progress. Re-asserts the SparkX i7
light and bedroom lamp before capturing so the photos are lit.
triggers:
- above: 1
entity_id: sensor.sparkx_i7_position_z
@@ -3574,6 +3574,19 @@
>= 50 %} 50% complete {% else %} 25% complete {% endif %}'
tag: '{% if trigger.entity_id == ''sensor.sparkx_i7_position_z'' %} z1 {% else
%} p{{ trigger.above | int }} {% endif %}'
- if:
- condition: template
value_template: '{{ not is_state(''light.sparkx_i7_light'', ''on'') or not is_state(''light.bedroom_lamp_2'',
''on'') }}'
then:
- action: light.turn_on
continue_on_error: true
target:
entity_id:
- light.sparkx_i7_light
- light.bedroom_lamp_2
- delay:
seconds: 3
- parallel:
- action: camera.snapshot
data: