diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index eef81a87..46ea138c 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -2668,3 +2668,4 @@ {"timestamp": "2026-08-26T16:00:01.966120+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.office_test_meeting_status_light"}, "execution_time_ms": 141.3261890411377, "success": true, "error_message": null, "response_size_bytes": 994, "user_context": null} {"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} diff --git a/automations.yaml b/automations.yaml index 5abeeb39..321acab3 100644 --- a/automations.yaml +++ b/automations.yaml @@ -1647,11 +1647,11 @@ entity_id: input_boolean.in_a_meeting trigger: state - id: motion_detected - entity_id: binary_sensor.night_light_occupancy_2 + entity_id: binary_sensor.night_light_occupancy trigger: state to: 'on' - id: motion_cleared - entity_id: binary_sensor.night_light_occupancy_2 + entity_id: binary_sensor.night_light_occupancy trigger: state to: 'off' conditions: [] @@ -1677,7 +1677,7 @@ - fri sequence: - target: - entity_id: light.night_light_2 + entity_id: light.night_light data: brightness_pct: 100 rgb_color: @@ -1705,7 +1705,7 @@ - fri sequence: - target: - entity_id: light.night_light_2 + entity_id: light.night_light data: brightness_pct: 20 rgb_color: @@ -1734,7 +1734,7 @@ - fri sequence: - target: - entity_id: light.night_light_2 + entity_id: light.night_light data: brightness_pct: 30 rgb_color: @@ -1763,7 +1763,7 @@ - fri sequence: - target: - entity_id: light.night_light_2 + entity_id: light.night_light action: light.turn_off mode: restart - id: '1783738120074'