diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index 0113f095..def6c97b 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -2404,3 +2404,4 @@ {"timestamp": "2026-08-26T05:42:25.706757+00:00", "tool_name": "ha_get_system_health", "parameters": {"include": "dead_entities", "include_dismissed_repairs": false, "config_entry_id": null, "device_id": null, "diagnostics_fields": null, "diagnostics_truncate_at_bytes": null, "diagnostics_data_path": null, "diagnostics_data_offset": 0, "diagnostics_data_limit": null}, "execution_time_ms": 583.3871364593506, "success": true, "error_message": null, "response_size_bytes": 11411, "user_context": null} {"timestamp": "2026-08-26T05:55:52.542182+00:00", "tool_name": "ha_search", "parameters": {"query": "3d_printer", "domain_filter": "light", "area_filter": null, "search_types": null, "limit": 20, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 437.81065940856934, "success": true, "error_message": null, "response_size_bytes": 920, "user_context": null} {"timestamp": "2026-08-26T05:56:08.603858+00:00", "tool_name": "ha_search", "parameters": {"query": "input_boolean.3d_printer_light", "domain_filter": null, "area_filter": null, "search_types": null, "limit": 10, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 15709.805011749268, "success": true, "error_message": null, "response_size_bytes": 1384, "user_context": null} +{"timestamp": "2026-08-26T05:56:55.894009+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"alias": "3D Printer Light - Toggle from Boolean", "description": "Turns 3D printer light on/off when input_boolean.3d_printer_light is toggled", "triggers": [{"trigger": "state", "entity_id": "input_boolean.3d_printer_light"}], "actions": [{"if": [{"condition": "state", "entity_id": "input_boolean.3d_printer_light", "state": "on"}], "then": [{"action": "light.turn_on", "target": {"entity_id": "[REDACTED]"}, "data": {}}], "else": [{"action": "light.turn_off", "target": {"entity_id": "[REDACTED]"}, "data": {}}]}], "mode": "single"}, "identifier": null, "python_transform": null, "config_hash": null, "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 1126.3349056243896, "success": true, "error_message": null, "response_size_bytes": 219, "user_context": null} diff --git a/automations.yaml b/automations.yaml index 7ce1848e..36c241c3 100644 --- a/automations.yaml +++ b/automations.yaml @@ -3581,3 +3581,26 @@ click_action_ch3: [] scroll_wheel_target_ch3: [] scroll_wheel_mode_ext_ch3: instant +- id: '1787723814939' + alias: 3D Printer Light - Toggle from Boolean + description: Turns 3D printer light on/off when input_boolean.3d_printer_light is + toggled + triggers: + - trigger: state + entity_id: input_boolean.3d_printer_light + actions: + - if: + - condition: state + entity_id: input_boolean.3d_printer_light + state: 'on' + then: + - action: light.turn_on + target: + entity_id: light.3d_printer_lights + data: {} + else: + - action: light.turn_off + target: + entity_id: light.3d_printer_lights + data: {} + mode: single diff --git a/zigbee2mqtt/state.json b/zigbee2mqtt/state.json index f34d2231..34276c1a 100644 --- a/zigbee2mqtt/state.json +++ b/zigbee2mqtt/state.json @@ -27,10 +27,10 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "power": 2.3, + "power": 2.4, "current": 0.1, "energy": 32.98, - "power_factor": 0.15, + "power_factor": 0.17, "update": { "state": "idle", "installed_version": 268513381, @@ -45,10 +45,10 @@ "state": "ON", "led_brightness": 100, "countdown_to_turn_off": 0, - "voltage": 123.2, + "voltage": 123.7, "countdown_to_turn_on": 0, - "energy": 66.63, - "power_factor": 0.87, + "energy": 66.64, + "power_factor": 0.2, "ac_frequency": 60, "update": { "state": "idle", @@ -58,8 +58,8 @@ "latest_release_notes": null }, "linkquality": 120, - "power": 87.4, - "current": 0.87, + "power": 1, + "current": 0.01, "power_on_behavior": "on" }, "0xb40e060fffe031e3": { @@ -74,11 +74,11 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "voltage": 122.7, + "voltage": 122.2, "state": "ON", "ac_frequency": 60, - "energy": 134.8, - "power": 95.3, + "energy": 134.81, + "power": 94.7, "current": 0.85, "power_factor": 0.98, "update": { @@ -98,8 +98,8 @@ "voltage": 123.7, "energy": 64.39, "state": "ON", - "power": 35.5, - "current": 0.49, + "power": 18.5, + "current": 0.29, "ac_frequency": 60, "power_factor": 0.53, "update": { @@ -143,7 +143,7 @@ "current": 0.02, "ac_frequency": 60, "power": 0.4, - "power_factor": 0.14, + "power_factor": 0.2, "update": { "state": "idle", "installed_version": 268513381, @@ -172,7 +172,7 @@ "0xffffb40e060893d8": { "state": "ON", "led_brightness": 100, - "voltage": 123.6, + "voltage": 124, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, "energy": 3.73,