.ha_mcp/logs/mcp_usage.jsonl, automations.yaml

This commit is contained in:
Home Assistant Version Control
2026-08-26 04:31:28 +00:00
parent b6dd677029
commit 38a5842132
2 changed files with 13 additions and 12 deletions
+1
View File
@@ -2140,3 +2140,4 @@
{"timestamp": "2026-08-26T04:31:16.984507+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.office_desk_lamp_meeting_alert", "python_transform": "config['actions'][0]['choose'][0]['sequence'][0]['data']['snapshot_entities'][0] = 'light.office_lamp_2'; config['actions'][0]['choose'][0]['sequence'][1]['target']['entity_id'] = 'light.office_lamp_2'; config['actions'][0]['choose'][1]['sequence'][0]['data']['snapshot_entities'][0] = 'light.office_lamp_2'; config['actions'][0]['choose'][1]['sequence'][1]['target']['entity_id'] = 'light.office_lamp_2'", "config_hash": "b3ca17bbb2fa10ed", "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 559.0348243713379, "success": true, "error_message": null, "response_size_bytes": 60143, "user_context": null} {"timestamp": "2026-08-26T04:31:16.984507+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.office_desk_lamp_meeting_alert", "python_transform": "config['actions'][0]['choose'][0]['sequence'][0]['data']['snapshot_entities'][0] = 'light.office_lamp_2'; config['actions'][0]['choose'][0]['sequence'][1]['target']['entity_id'] = 'light.office_lamp_2'; config['actions'][0]['choose'][1]['sequence'][0]['data']['snapshot_entities'][0] = 'light.office_lamp_2'; config['actions'][0]['choose'][1]['sequence'][1]['target']['entity_id'] = 'light.office_lamp_2'", "config_hash": "b3ca17bbb2fa10ed", "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 559.0348243713379, "success": true, "error_message": null, "response_size_bytes": 60143, "user_context": null}
{"timestamp": "2026-08-26T04:31:19.420574+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.office_teams_webhook_busy_ligh", "python_transform": "config['actions'][0]['choose'][0]['sequence'][0]['target']['entity_id'] = 'light.night_light_2'; config['actions'][0]['choose'][1]['sequence'][0]['target']['entity_id'] = 'light.night_light_2'", "config_hash": "09b42740ea112d26", "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 691.199541091919, "success": true, "error_message": null, "response_size_bytes": 60380, "user_context": null} {"timestamp": "2026-08-26T04:31:19.420574+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.office_teams_webhook_busy_ligh", "python_transform": "config['actions'][0]['choose'][0]['sequence'][0]['target']['entity_id'] = 'light.night_light_2'; config['actions'][0]['choose'][1]['sequence'][0]['target']['entity_id'] = 'light.night_light_2'", "config_hash": "09b42740ea112d26", "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 691.199541091919, "success": true, "error_message": null, "response_size_bytes": 60380, "user_context": null}
{"timestamp": "2026-08-26T04:31:21.356628+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.office_manual_meeting_status_busy_ligh", "python_transform": "config['triggers'][1]['entity_id'] = 'binary_sensor.night_light_occupancy_2'; config['triggers'][2]['entity_id'] = 'binary_sensor.night_light_occupancy_2'; config['actions'][0]['choose'][0]['sequence'][0]['target']['entity_id'] = 'light.night_light_2'; config['actions'][0]['choose'][1]['sequence'][0]['target']['entity_id'] = 'light.night_light_2'; config['actions'][0]['choose'][2]['sequence'][0]['target']['entity_id'] = 'light.night_light_2'; config['actions'][0]['choose'][3]['sequence'][0]['target']['entity_id'] = 'light.night_light_2'", "config_hash": "9df44eab3a8eedb5", "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 619.4148063659668, "success": true, "error_message": null, "response_size_bytes": 60297, "user_context": null} {"timestamp": "2026-08-26T04:31:21.356628+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.office_manual_meeting_status_busy_ligh", "python_transform": "config['triggers'][1]['entity_id'] = 'binary_sensor.night_light_occupancy_2'; config['triggers'][2]['entity_id'] = 'binary_sensor.night_light_occupancy_2'; config['actions'][0]['choose'][0]['sequence'][0]['target']['entity_id'] = 'light.night_light_2'; config['actions'][0]['choose'][1]['sequence'][0]['target']['entity_id'] = 'light.night_light_2'; config['actions'][0]['choose'][2]['sequence'][0]['target']['entity_id'] = 'light.night_light_2'; config['actions'][0]['choose'][3]['sequence'][0]['target']['entity_id'] = 'light.night_light_2'", "config_hash": "9df44eab3a8eedb5", "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 619.4148063659668, "success": true, "error_message": null, "response_size_bytes": 60297, "user_context": null}
{"timestamp": "2026-08-26T04:31:27.582043+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.office_manual_meeting_status_busy_light_working_hours", "python_transform": "config['triggers'][2]['entity_id'] = 'binary_sensor.night_light_occupancy_2'; config['triggers'][3]['entity_id'] = 'binary_sensor.night_light_occupancy_2'; config['actions'][0]['variables']['is_dark'] = config['actions'][0]['variables']['is_dark'].replace('sensor.night_light_illuminance','sensor.night_light_illuminance_2'); config['actions'][1]['choose'][0]['sequence'][0]['choose'][0]['sequence'][0]['target']['entity_id'] = 'light.night_light_2'; config['actions'][1]['choose'][0]['sequence'][0]['choose'][1]['sequence'][0]['target']['entity_id'] = 'light.night_light_2'; config['actions'][1]['choose'][1]['sequence'][0]['target']['entity_id'] = 'light.night_light_2'; config['actions'][1]['choose'][2]['sequence'][0]['target']['entity_id'] = 'light.night_light_2'; config['actions'][1]['choose'][3]['sequence'][1]['target']['entity_id'] = 'light.night_light_2'; config['actions'][1]['choose'][4]['sequence'][0]['target']['entity_id'] = 'light.night_light_2'; config['actions'][1]['choose'][5]['sequence'][0]['target']['entity_id'] = 'light.night_light_2'", "config_hash": "92a53d9976cc3182", "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 1255.3043365478516, "success": true, "error_message": null, "response_size_bytes": 61647, "user_context": null}
+12 -12
View File
@@ -1798,7 +1798,7 @@
state: 'on' state: 'on'
sequence: sequence:
- target: - target:
entity_id: light.night_light entity_id: light.night_light_2
data: data:
brightness_pct: 100 brightness_pct: 100
rgb_color: rgb_color:
@@ -1812,7 +1812,7 @@
state: 'off' state: 'off'
sequence: sequence:
- target: - target:
entity_id: light.night_light entity_id: light.night_light_2
data: data:
brightness_pct: 20 brightness_pct: 20
rgb_color: rgb_color:
@@ -2286,11 +2286,11 @@
entity_id: input_boolean.away_mode entity_id: input_boolean.away_mode
trigger: state trigger: state
- id: motion_detected - id: motion_detected
entity_id: binary_sensor.night_light_occupancy entity_id: binary_sensor.night_light_occupancy_2
trigger: state trigger: state
to: 'on' to: 'on'
- id: motion_cleared - id: motion_cleared
entity_id: binary_sensor.night_light_occupancy entity_id: binary_sensor.night_light_occupancy_2
trigger: state trigger: state
to: 'off' to: 'off'
- id: work_day_started - id: work_day_started
@@ -2305,7 +2305,7 @@
is_work_hours: '{{ 8 <= now().hour < 18 and now().isoweekday() in [1,2,3,4,5] is_work_hours: '{{ 8 <= now().hour < 18 and now().isoweekday() in [1,2,3,4,5]
}}' }}'
is_away: '{{ is_state(''input_boolean.away_mode'', ''on'') }}' is_away: '{{ is_state(''input_boolean.away_mode'', ''on'') }}'
is_dark: '{{ states(''sensor.night_light_illuminance'') | float(0) < 15 }}' is_dark: '{{ states(''sensor.night_light_illuminance_2'') | float(0) < 15 }}'
- choose: - choose:
- alias: '--- WORKING HOURS MODE ---' - alias: '--- WORKING HOURS MODE ---'
conditions: conditions:
@@ -2323,7 +2323,7 @@
sequence: sequence:
- action: light.turn_on - action: light.turn_on
target: target:
entity_id: light.night_light entity_id: light.night_light_2
data: data:
brightness_pct: 100 brightness_pct: 100
rgb_color: rgb_color:
@@ -2338,7 +2338,7 @@
sequence: sequence:
- action: light.turn_on - action: light.turn_on
target: target:
entity_id: light.night_light entity_id: light.night_light_2
data: data:
brightness_pct: 30 brightness_pct: 30
rgb_color: rgb_color:
@@ -2352,7 +2352,7 @@
sequence: sequence:
- action: light.turn_off - action: light.turn_off
target: target:
entity_id: light.night_light entity_id: light.night_light_2
- alias: '--- AFTER HOURS / AWAY: MOTION DETECTED ---' - alias: '--- AFTER HOURS / AWAY: MOTION DETECTED ---'
conditions: conditions:
- condition: template - condition: template
@@ -2361,7 +2361,7 @@
sequence: sequence:
- action: light.turn_on - action: light.turn_on
target: target:
entity_id: light.night_light entity_id: light.night_light_2
data: data:
brightness_pct: 40 brightness_pct: 40
color_temp_kelvin: 2700 color_temp_kelvin: 2700
@@ -2374,7 +2374,7 @@
- delay: 00:00:05 - delay: 00:00:05
- action: light.turn_off - action: light.turn_off
target: target:
entity_id: light.night_light entity_id: light.night_light_2
- alias: '--- INSTANT AWAY TRANSITION ---' - alias: '--- INSTANT AWAY TRANSITION ---'
conditions: conditions:
- condition: template - condition: template
@@ -2382,7 +2382,7 @@
sequence: sequence:
- action: light.turn_off - action: light.turn_off
target: target:
entity_id: light.night_light entity_id: light.night_light_2
- alias: '--- FALLBACK: MEETING ENDS AFTER HOURS ---' - alias: '--- FALLBACK: MEETING ENDS AFTER HOURS ---'
conditions: conditions:
- condition: template - condition: template
@@ -2391,7 +2391,7 @@
sequence: sequence:
- action: light.turn_off - action: light.turn_off
target: target:
entity_id: light.night_light entity_id: light.night_light_2
mode: restart mode: restart
- id: '1784246257858' - id: '1784246257858'
alias: Sync Alexa Volume Slider alias: Sync Alexa Volume Slider