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' - id: '1787462157568'
alias: 3D Print Early Layers Snapshot alias: 3D Print Early Layers Snapshot
description: Telegram-only snapshots from all 3 printer cameras. Fires when Z crosses 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, 1.0 mm, then again at 25%, 50% and 75% print progress. Re-asserts the SparkX i7
sent as a Telegram album. light and bedroom lamp before capturing so the photos are lit.
triggers: triggers:
- above: 1 - above: 1
entity_id: sensor.sparkx_i7_position_z entity_id: sensor.sparkx_i7_position_z
@@ -3574,6 +3574,19 @@
>= 50 %} 50% complete {% else %} 25% complete {% endif %}' >= 50 %} 50% complete {% else %} 25% complete {% endif %}'
tag: '{% if trigger.entity_id == ''sensor.sparkx_i7_position_z'' %} z1 {% else tag: '{% if trigger.entity_id == ''sensor.sparkx_i7_position_z'' %} z1 {% else
%} p{{ trigger.above | int }} {% endif %}' %} 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: - parallel:
- action: camera.snapshot - action: camera.snapshot
data: data:
+12 -12
View File
@@ -22,7 +22,7 @@
}, },
"0xffffb40e0607af27": { "0xffffb40e0607af27": {
"state": "ON", "state": "ON",
"voltage": 120.1, "voltage": 120,
"ac_frequency": 60, "ac_frequency": 60,
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
@@ -48,7 +48,7 @@
"voltage": 119.8, "voltage": 119.8,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"energy": 96.41, "energy": 96.41,
"power_factor": 0.2, "power_factor": 0.88,
"ac_frequency": 60, "ac_frequency": 60,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -58,8 +58,8 @@
"latest_release_notes": null "latest_release_notes": null
}, },
"linkquality": 145, "linkquality": 145,
"power": 0.2, "power": 85.4,
"current": 0.01, "current": 0.85,
"power_on_behavior": "on" "power_on_behavior": "on"
}, },
"0xb40e060fffe031e3": { "0xb40e060fffe031e3": {
@@ -77,9 +77,9 @@
"voltage": 118.8, "voltage": 118.8,
"state": "ON", "state": "ON",
"ac_frequency": 60, "ac_frequency": 60,
"energy": 198.89, "energy": 198.9,
"power": 99.4, "power": 95.2,
"current": 0.9, "current": 0.85,
"power_factor": 0.94, "power_factor": 0.94,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -96,12 +96,12 @@
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"voltage": 120.1, "voltage": 120.1,
"energy": 96.07, "energy": 96.08,
"state": "ON", "state": "ON",
"power": 15.8, "power": 10.7,
"current": 0.25, "current": 0.18,
"ac_frequency": 60, "ac_frequency": 60,
"power_factor": 0.5, "power_factor": 0.58,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -119,7 +119,7 @@
"energy": 13.31, "energy": 13.31,
"current": 0.01, "current": 0.01,
"power": 0.1, "power": 0.1,
"power_factor": 0.11, "power_factor": 0.2,
"linkquality": 116, "linkquality": 116,
"update": { "update": {
"state": "idle", "state": "idle",