From 579efd3ef33634ba929eee585db2532d19aa6452 Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Fri, 28 Aug 2026 05:24:18 +0000 Subject: [PATCH] 3 files --- .ha_mcp/logs/mcp_usage.jsonl | 1 + automations.yaml | 31 +++++++++++++++++++++++-------- zigbee2mqtt/state.json | 24 ++++++++++++------------ 3 files changed, 36 insertions(+), 20 deletions(-) diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index 1e37510d..ec53488a 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -3058,3 +3058,4 @@ {"timestamp": "2026-08-28T05:19:48.864231+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.3d_printer_lights_control_scroll_wheel"}, "execution_time_ms": 282.20558166503906, "success": true, "error_message": null, "response_size_bytes": 1296, "user_context": null} {"timestamp": "2026-08-28T05:20:09.217122+00:00", "tool_name": "ha_get_blueprint", "parameters": {"path": "jhol-byte/Ikea_bilresa_scroll_wheel.yaml", "domain": "automation"}, "execution_time_ms": 83.57954025268555, "success": true, "error_message": null, "response_size_bytes": 12492, "user_context": null} {"timestamp": "2026-08-28T05:21:13.258342+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["light.3d_printer_lights_local", "light.bedroom_lamp_2"], "fields": ["entity_id", "state"], "attribute_keys": null}, "execution_time_ms": 96.35019302368164, "success": true, "error_message": null, "response_size_bytes": 566, "user_context": null} +{"timestamp": "2026-08-28T05:24:11.068726+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"alias": "3D Printer Lights Control - Scroll Wheel", "description": "", "use_blueprint": {"path": "jhol-byte/Ikea_bilresa_scroll_wheel.yaml", "input": {"remote": "eb34748c324b33255fb839f867f7a5d9", "click_action_ch1": [{"action": "light.toggle", "metadata": {}, "target": {"entity_id": "[REDACTED]"}, "data": {"rgb_color": "[REDACTED]", "brightness_pct": "[REDACTED]"}}], "scroll_wheel_target_ch1": ["light.3d_printer_lights_local"], "scroll_wheel_mode_ext_ch1": "instant", "long_click_action_ch1": [], "double_click_action_ch1": [{"action": "light.turn_on", "metadata": {}, "target": {"entity_id": "[REDACTED]"}, "data": {"rgb_color": "[REDACTED]"}}], "dim_turns_lights_on": true, "click_action_ch2": [{"if": ["[REDACTED]"], "then": ["[REDACTED]"], "else": ["[REDACTED]"]}], "scroll_wheel_target_ch2": ["light.3d_printer_lights_local", "light.bedroom_lamp_2"], "scroll_wheel_mode_ext_ch2": "instant", "click_action_ch3": [], "scroll_wheel_target_ch3": [], "scroll_wheel_mode_ext_ch3": "instant"}}}, "identifier": "automation.3d_printer_lights_control_scroll_wheel", "python_transform": null, "config_hash": "82dd90260de34908", "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 1166.4211750030518, "success": true, "error_message": null, "response_size_bytes": 59604, "user_context": null} diff --git a/automations.yaml b/automations.yaml index 29c9aac9..1d1fef9d 100644 --- a/automations.yaml +++ b/automations.yaml @@ -3637,14 +3637,29 @@ - 230 dim_turns_lights_on: true click_action_ch2: - - action: light.toggle - metadata: {} - target: - entity_id: - - light.3d_printer_lights_local - - light.bedroom_lamp_2 - data: - brightness_pct: 100 + - if: + - condition: or + conditions: + - condition: state + entity_id: light.3d_printer_lights_local + state: 'on' + - condition: state + entity_id: light.bedroom_lamp_2 + state: 'on' + then: + - action: light.turn_off + target: + entity_id: + - light.3d_printer_lights_local + - light.bedroom_lamp_2 + else: + - action: light.turn_on + target: + entity_id: + - light.3d_printer_lights_local + - light.bedroom_lamp_2 + data: + brightness_pct: 100 scroll_wheel_target_ch2: - light.3d_printer_lights_local - light.bedroom_lamp_2 diff --git a/zigbee2mqtt/state.json b/zigbee2mqtt/state.json index d95dbf3e..84ac0317 100644 --- a/zigbee2mqtt/state.json +++ b/zigbee2mqtt/state.json @@ -27,7 +27,7 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "power": 2.5, + "power": 1.9, "current": 0.1, "energy": 34.24, "power_factor": 0.16, @@ -48,7 +48,7 @@ "voltage": 124.2, "countdown_to_turn_on": 0, "energy": 68.16, - "power_factor": 0.2, + "power_factor": 0.3, "ac_frequency": 60, "update": { "state": "idle", @@ -74,11 +74,11 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "voltage": 123.2, + "voltage": 123.7, "state": "ON", "ac_frequency": 60, - "energy": 138.34, - "power": 97.3, + "energy": 138.35, + "power": 97.1, "current": 0.86, "power_factor": 0.94, "update": { @@ -96,10 +96,10 @@ "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, "voltage": 124.2, - "energy": 65.85, + "energy": 65.86, "state": "ON", - "power": 32.2, - "current": 0.38, + "power": 39.5, + "current": 0.48, "ac_frequency": 60, "power_factor": 0.65, "update": { @@ -119,7 +119,7 @@ "energy": 9.25, "current": 0.01, "power": 0.2, - "power_factor": 0.11, + "power_factor": 0.22, "linkquality": 65, "update": { "state": "idle", @@ -136,7 +136,7 @@ "0xffffb40e0608864e": { "led_brightness": 100, "countdown_to_turn_off": 0, - "voltage": 124.7, + "voltage": 125.2, "energy": 21.47, "countdown_to_turn_on": 0, "state": "ON", @@ -192,7 +192,7 @@ }, "0xa4c1380d0679ffff": { "battery": 100, - "temperature": 27.1, + "temperature": 27.2, "temperature_units": "celsius", "temperature_calibration": 0, "update": { @@ -245,7 +245,7 @@ }, "0xb40e060fffe717c5": { "battery": 100, - "occupancy": true, + "occupancy": false, "tamper": false, "battery_low": false, "linkquality": 51,