This commit is contained in:
Home Assistant Version Control
2026-10-03 15:17:10 +00:00
parent 820b1d20b0
commit 063b42da6f
3 changed files with 84 additions and 5 deletions
+5 -5
View File
@@ -3525,11 +3525,6 @@
%p'').lstrip(''0'') }}. Total time: {% if seconds >= 3600 %}{{ seconds //
3600 }}h {{ ((seconds % 3600) // 60) }}m {% else %}{{ ((seconds % 3600) //
60) }}m{% endif %}'
- action: camera.snapshot
data:
filename: /config/www/sparkx_i7_complete_snapshot.jpg
target:
entity_id: camera.sparkx_i7_printer_camera
- variables:
sparkx_needs_light: '{{ not is_state(''light.sparkx_i7_light'', ''on'') }}'
bedroom_needs_light: '{{ not is_state(''light.bedroom_lamp_2'', ''on'') }}'
@@ -3551,6 +3546,11 @@
entity_id: light.bedroom_lamp_2
- delay:
seconds: 3
- action: camera.snapshot
data:
filename: /config/www/sparkx_i7_complete_snapshot.jpg
target:
entity_id: camera.sparkx_i7_printer_camera
- delay:
seconds: 2
- if: