From 86ba055b6a6ae5c57f8aaec7e476f4480c4cfd62 Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Thu, 1 Oct 2026 15:19:20 +0000 Subject: [PATCH] automations.yaml, zigbee2mqtt/state.json --- automations.yaml | 17 +++++++++++++++-- zigbee2mqtt/state.json | 24 ++++++++++++------------ 2 files changed, 27 insertions(+), 14 deletions(-) diff --git a/automations.yaml b/automations.yaml index c5fc758f..5dfe4c05 100644 --- a/automations.yaml +++ b/automations.yaml @@ -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: diff --git a/zigbee2mqtt/state.json b/zigbee2mqtt/state.json index f832794a..3d632785 100644 --- a/zigbee2mqtt/state.json +++ b/zigbee2mqtt/state.json @@ -22,7 +22,7 @@ }, "0xffffb40e0607af27": { "state": "ON", - "voltage": 120.1, + "voltage": 120, "ac_frequency": 60, "led_brightness": 100, "countdown_to_turn_off": 0, @@ -48,7 +48,7 @@ "voltage": 119.8, "countdown_to_turn_on": 0, "energy": 96.41, - "power_factor": 0.2, + "power_factor": 0.88, "ac_frequency": 60, "update": { "state": "idle", @@ -58,8 +58,8 @@ "latest_release_notes": null }, "linkquality": 145, - "power": 0.2, - "current": 0.01, + "power": 85.4, + "current": 0.85, "power_on_behavior": "on" }, "0xb40e060fffe031e3": { @@ -77,9 +77,9 @@ "voltage": 118.8, "state": "ON", "ac_frequency": 60, - "energy": 198.89, - "power": 99.4, - "current": 0.9, + "energy": 198.9, + "power": 95.2, + "current": 0.85, "power_factor": 0.94, "update": { "state": "idle", @@ -96,12 +96,12 @@ "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, "voltage": 120.1, - "energy": 96.07, + "energy": 96.08, "state": "ON", - "power": 15.8, - "current": 0.25, + "power": 10.7, + "current": 0.18, "ac_frequency": 60, - "power_factor": 0.5, + "power_factor": 0.58, "update": { "state": "idle", "installed_version": 268513381, @@ -119,7 +119,7 @@ "energy": 13.31, "current": 0.01, "power": 0.1, - "power_factor": 0.11, + "power_factor": 0.2, "linkquality": 116, "update": { "state": "idle",