This commit is contained in:
Home Assistant Version Control
2026-08-07 02:09:22 +00:00
parent 3ec3475a39
commit 1799c1bad3
3 changed files with 65 additions and 23 deletions
+2
View File
@@ -556,3 +556,5 @@
{"timestamp": "2026-08-07T01:44:10.966602+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "light.bedroom_lamp", "fields": ["state", "last_updated"], "attribute_keys": null}, "execution_time_ms": 9.422540664672852, "success": true, "error_message": null, "response_size_bytes": 419, "user_context": null} {"timestamp": "2026-08-07T01:44:10.966602+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "light.bedroom_lamp", "fields": ["state", "last_updated"], "attribute_keys": null}, "execution_time_ms": 9.422540664672852, "success": true, "error_message": null, "response_size_bytes": 419, "user_context": null}
{"timestamp": "2026-08-07T01:44:14.077941+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "mqtt", "service": "publish", "entity_id": null, "data": {"topic": "octoPrint/event/PrintStarted", "payload": "{\"_event\": \"PrintStarted\", \"filename\": \"test-automation-2.gcode\"}", "retain": false}, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 17.46201515197754, "success": true, "error_message": null, "response_size_bytes": 293, "user_context": null} {"timestamp": "2026-08-07T01:44:14.077941+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "mqtt", "service": "publish", "entity_id": null, "data": {"topic": "octoPrint/event/PrintStarted", "payload": "{\"_event\": \"PrintStarted\", \"filename\": \"test-automation-2.gcode\"}", "retain": false}, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 17.46201515197754, "success": true, "error_message": null, "response_size_bytes": 293, "user_context": null}
{"timestamp": "2026-08-07T01:44:17.303902+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "light.bedroom_lamp", "fields": ["state", "last_updated"], "attribute_keys": null}, "execution_time_ms": 7.877826690673828, "success": true, "error_message": null, "response_size_bytes": 418, "user_context": null} {"timestamp": "2026-08-07T01:44:17.303902+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "light.bedroom_lamp", "fields": ["state", "last_updated"], "attribute_keys": null}, "execution_time_ms": 7.877826690673828, "success": true, "error_message": null, "response_size_bytes": 418, "user_context": null}
{"timestamp": "2026-08-07T02:09:16.079455+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "input_boolean", "name": "3D Printer Running", "helper_id": null, "entry_id": null, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "icon": "mdi:printer-3d", "area_id": null, "labels": null, "min_value": null, "max_value": null, "step": null, "unit_of_measurement": null, "options": null, "initial": null, "mode": null, "has_date": null, "has_time": null, "restore": null, "duration": null, "monday": null, "tuesday": null, "wednesday": null, "thursday": null, "friday": null, "saturday": null, "sunday": null, "latitude": null, "longitude": null, "radius": null, "passive": null, "user_id": null, "device_trackers": null, "picture": null, "tag_id": null, "description": null, "category": null, "config": null, "wait": true, "action": null, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 67.46530532836914, "success": true, "error_message": null, "response_size_bytes": 281, "user_context": null}
{"timestamp": "2026-08-07T02:09:21.524480+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"alias": "3D Printer Running - Playroom Light & Basement Heat", "description": "When the 3D printer running helper turns on (print started), turn on the playroom light and bedroom lamp and set the basement to 22 degrees C. When it turns off (print ended), turn off only the playroom light.", "triggers": [{"trigger": "state", "entity_id": "input_boolean.3d_printer_running", "to": "on", "id": "printer_started"}, {"trigger": "state", "entity_id": "input_boolean.3d_printer_running", "to": "off", "id": "printer_stopped"}], "actions": [{"choose": [{"conditions": ["[REDACTED]"], "sequence": ["[REDACTED]", "[REDACTED]", "[REDACTED]"]}, {"conditions": ["[REDACTED]"], "sequence": ["[REDACTED]"]}]}], "mode": "single"}, "identifier": null, "python_transform": null, "config_hash": null, "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 410.34889221191406, "success": true, "error_message": null, "response_size_bytes": 241, "user_context": null}
+40
View File
@@ -3205,3 +3205,43 @@
temperature: 22 temperature: 22
hvac_mode: heat hvac_mode: heat
mode: single mode: single
- id: '1786068561172'
alias: 3D Printer Running - Playroom Light & Basement Heat
description: When the 3D printer running helper turns on (print started), turn on
the playroom light and bedroom lamp and set the basement to 22 degrees C. When
it turns off (print ended), turn off only the playroom light.
triggers:
- trigger: state
entity_id: input_boolean.3d_printer_running
to: 'on'
id: printer_started
- trigger: state
entity_id: input_boolean.3d_printer_running
to: 'off'
id: printer_stopped
actions:
- choose:
- conditions:
- condition: trigger
id: printer_started
sequence:
- action: light.turn_on
target:
entity_id: light.playroom_light
- action: light.turn_on
target:
entity_id: light.bedroom_lamp
- action: climate.set_temperature
target:
entity_id: climate.basement
data:
temperature: 22
hvac_mode: heat
- conditions:
- condition: trigger
id: printer_stopped
sequence:
- action: light.turn_off
target:
entity_id: light.playroom_light
mode: single
+23 -23
View File
@@ -4,7 +4,7 @@
"state": "ON", "state": "ON",
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"voltage": 121.6, "voltage": 122,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"ac_frequency": 60, "ac_frequency": 60,
"power_factor": 0.13, "power_factor": 0.13,
@@ -22,12 +22,12 @@
}, },
"0xffffb40e0607af27": { "0xffffb40e0607af27": {
"state": "ON", "state": "ON",
"voltage": 122.3, "voltage": 121.3,
"ac_frequency": 60, "ac_frequency": 60,
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"power": 2.7, "power": 2.8,
"current": 0.12, "current": 0.12,
"energy": 26.75, "energy": 26.75,
"power_factor": 0.16, "power_factor": 0.16,
@@ -45,9 +45,9 @@
"state": "ON", "state": "ON",
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"voltage": 121.2, "voltage": 121.6,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"energy": 49.8, "energy": 49.82,
"power_factor": 0.2, "power_factor": 0.2,
"ac_frequency": 60, "ac_frequency": 60,
"update": { "update": {
@@ -58,8 +58,8 @@
"latest_release_notes": null "latest_release_notes": null
}, },
"linkquality": 134, "linkquality": 134,
"power": 0.4, "power": 0.9,
"current": 0.04, "current": 0.01,
"power_on_behavior": "on" "power_on_behavior": "on"
}, },
"0xb40e060fffe031e3": { "0xb40e060fffe031e3": {
@@ -77,10 +77,10 @@
"voltage": 120.3, "voltage": 120.3,
"state": "ON", "state": "ON",
"ac_frequency": 60, "ac_frequency": 60,
"energy": 101.47, "energy": 101.51,
"power": 0.8, "power": 98.3,
"current": 0.02, "current": 0.88,
"power_factor": 0.41, "power_factor": 0.95,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -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": 121.6, "voltage": 121.6,
"energy": 43.29, "energy": 43.3,
"state": "ON", "state": "ON",
"power": 30.9, "power": 23.9,
"current": 0.39, "current": 0.35,
"ac_frequency": 60, "ac_frequency": 60,
"power_factor": 0.64, "power_factor": 0.56,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -114,12 +114,12 @@
}, },
"0xffffb40e060895b3": { "0xffffb40e060895b3": {
"state": "ON", "state": "ON",
"voltage": 120.9, "voltage": 121.9,
"ac_frequency": 60, "ac_frequency": 60,
"energy": 6.29, "energy": 6.29,
"current": 0.01, "current": 0.01,
"power": 0.1, "power": 0.1,
"power_factor": 0.11, "power_factor": 0.22,
"linkquality": 123, "linkquality": 123,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -136,7 +136,7 @@
"0xffffb40e0608864e": { "0xffffb40e0608864e": {
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"voltage": 120.9, "voltage": 122,
"energy": 17.34, "energy": 17.34,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"state": "ON", "state": "ON",
@@ -172,13 +172,13 @@
"0xffffb40e060893d8": { "0xffffb40e060893d8": {
"state": "ON", "state": "ON",
"led_brightness": 100, "led_brightness": 100,
"voltage": 121.9, "voltage": 122.2,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"energy": 3.03, "energy": 3.03,
"power_on_behavior": "on", "power_on_behavior": "on",
"linkquality": 87, "linkquality": 87,
"current": 0.01, "current": 0.03,
"ac_frequency": 60, "ac_frequency": 60,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -187,8 +187,8 @@
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota", "latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota",
"latest_release_notes": null "latest_release_notes": null
}, },
"power_factor": 0, "power_factor": 0.13,
"power": 0 "power": 0.2
}, },
"0xa4c1380d0679ffff": { "0xa4c1380d0679ffff": {
"battery": 100, "battery": 100,
@@ -245,7 +245,7 @@
}, },
"0xb40e060fffe717c5": { "0xb40e060fffe717c5": {
"battery": 100, "battery": 100,
"occupancy": true, "occupancy": false,
"tamper": false, "tamper": false,
"battery_low": false, "battery_low": false,
"linkquality": 72, "linkquality": 72,