.ha_mcp/logs/mcp_usage.jsonl, automations.yaml
This commit is contained in:
@@ -2669,3 +2669,4 @@
|
||||
{"timestamp": "2026-08-26T16:00:08.804742+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.office_manual_meeting_status_busy_light_working_hours"}, "execution_time_ms": 121.26445770263672, "success": true, "error_message": null, "response_size_bytes": 3821, "user_context": null}
|
||||
{"timestamp": "2026-08-26T16:00:36.222507+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.office_teams_webhook_busy_ligh", "python_transform": "for action in config['actions']:\n for choice in action.get('choose', []):\n for seq in choice.get('sequence', []):\n target = seq.get('target', {})\n if target.get('entity_id') == 'light.night_light_2':\n target['entity_id'] = 'light.night_light'", "config_hash": "ac7cda8f443a2e6a", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 1065.6170845031738, "success": true, "error_message": null, "response_size_bytes": 2194, "user_context": null}
|
||||
{"timestamp": "2026-08-26T16:01:09.188544+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.office_manual_meeting_status_busy_ligh", "python_transform": "for trigger in config['triggers']:\n if trigger.get('entity_id') == 'binary_sensor.night_light_occupancy_2':\n trigger['entity_id'] = 'binary_sensor.night_light_occupancy'\nfor action in config['actions']:\n for choice in action.get('choose', []):\n for seq in choice.get('sequence', []):\n target = seq.get('target', {})\n if target.get('entity_id') == 'light.night_light_2':\n target['entity_id'] = 'light.night_light'", "config_hash": "d3c8a0b68aabc236", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 714.8544788360596, "success": true, "error_message": null, "response_size_bytes": 847, "user_context": null}
|
||||
{"timestamp": "2026-08-26T16:01:20.628142+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.office_test_meeting_status_light", "python_transform": "for action in config['actions']:\n for choice in action.get('choose', []):\n for seq in choice.get('sequence', []):\n target = seq.get('target', {})\n if target.get('entity_id') == 'light.night_light_2':\n target['entity_id'] = 'light.night_light'", "config_hash": "2334ecf0aa63dd1e", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 308.1028461456299, "success": true, "error_message": null, "response_size_bytes": 652, "user_context": null}
|
||||
|
||||
+2
-2
@@ -1798,7 +1798,7 @@
|
||||
state: 'on'
|
||||
sequence:
|
||||
- target:
|
||||
entity_id: light.night_light_2
|
||||
entity_id: light.night_light
|
||||
data:
|
||||
brightness_pct: 100
|
||||
rgb_color:
|
||||
@@ -1812,7 +1812,7 @@
|
||||
state: 'off'
|
||||
sequence:
|
||||
- target:
|
||||
entity_id: light.night_light_2
|
||||
entity_id: light.night_light
|
||||
data:
|
||||
brightness_pct: 20
|
||||
rgb_color:
|
||||
|
||||
Reference in New Issue
Block a user