diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index f291479e..823886b2 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -2670,3 +2670,5 @@ {"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} +{"timestamp": "2026-08-26T16:01:31.608385+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.office_manual_meeting_status_busy_light_working_hours", "python_transform": "for trigger in config['triggers']:\n eid = trigger.get('entity_id', '')\n if eid == 'binary_sensor.night_light_occupancy_2':\n trigger['entity_id'] = 'binary_sensor.night_light_occupancy'\nvariables = config.get('variables', {})\nfor key, val in variables.items():\n if isinstance(val, str) and 'sensor.night_light_illuminance_2' in val:\n variables[key] = val.replace('sensor.night_light_illuminance_2', 'sensor.night_light_illuminance')\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'\n for inner_choice in seq.get('choose', []):\n for inner_seq in inner_choice.get('sequence', []):\n inner_target = inner_seq.get('target', {})\n if inner_target.get('entity_id') == 'light.night_light_2':\n inner_target['entity_id'] = 'light.night_light'\n target = action.get('target', {})\n if target.get('entity_id') == 'light.night_light_2':\n target['entity_id'] = 'light.night_light'", "config_hash": "bd0e518f394a758a", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 351.78303718566895, "success": true, "error_message": null, "response_size_bytes": 7848, "user_context": null} +{"timestamp": "2026-08-26T16:01:58.846809+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": null, "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": "search", "query": "night_light_2"}, "execution_time_ms": 20.642995834350586, "success": true, "error_message": null, "response_size_bytes": 2826, "user_context": null} diff --git a/automations.yaml b/automations.yaml index d6a34542..e8da2333 100644 --- a/automations.yaml +++ b/automations.yaml @@ -2286,11 +2286,11 @@ entity_id: input_boolean.away_mode 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' - id: work_day_started @@ -2323,7 +2323,7 @@ sequence: - action: light.turn_on target: - entity_id: light.night_light_2 + entity_id: light.night_light data: brightness_pct: 100 rgb_color: @@ -2338,7 +2338,7 @@ sequence: - action: light.turn_on target: - entity_id: light.night_light_2 + entity_id: light.night_light data: brightness_pct: 30 rgb_color: @@ -2352,7 +2352,7 @@ sequence: - action: light.turn_off target: - entity_id: light.night_light_2 + entity_id: light.night_light - alias: '--- AFTER HOURS / AWAY: MOTION DETECTED ---' conditions: - condition: template @@ -2361,7 +2361,7 @@ sequence: - action: light.turn_on target: - entity_id: light.night_light_2 + entity_id: light.night_light data: brightness_pct: 40 color_temp_kelvin: 2700 @@ -2374,7 +2374,7 @@ - delay: 00:00:05 - action: light.turn_off target: - entity_id: light.night_light_2 + entity_id: light.night_light - alias: '--- INSTANT AWAY TRANSITION ---' conditions: - condition: template @@ -2382,7 +2382,7 @@ sequence: - action: light.turn_off target: - entity_id: light.night_light_2 + entity_id: light.night_light - alias: '--- FALLBACK: MEETING ENDS AFTER HOURS ---' conditions: - condition: template @@ -2391,7 +2391,7 @@ sequence: - action: light.turn_off target: - entity_id: light.night_light_2 + entity_id: light.night_light mode: restart - id: '1784246257858' alias: Sync Alexa Volume Slider diff --git a/zigbee2mqtt/state.json b/zigbee2mqtt/state.json index ccbcbffa..7ed9b1c3 100644 --- a/zigbee2mqtt/state.json +++ b/zigbee2mqtt/state.json @@ -4,7 +4,7 @@ "state": "ON", "led_brightness": 100, "countdown_to_turn_off": 0, - "voltage": 120.2, + "voltage": 120.7, "countdown_to_turn_on": 0, "ac_frequency": 60, "power_factor": 0.11, @@ -22,15 +22,15 @@ }, "0xffffb40e0607af27": { "state": "ON", - "voltage": 119.9, + "voltage": 120.3, "ac_frequency": 60, "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "power": 4.2, + "power": 3.9, "current": 0.11, - "energy": 33.07, - "power_factor": 0.32, + "energy": 33.08, + "power_factor": 0.31, "update": { "state": "idle", "installed_version": 268513381, @@ -48,7 +48,7 @@ "voltage": 120, "countdown_to_turn_on": 0, "energy": 66.99, - "power_factor": 0.17, + "power_factor": 0.2, "ac_frequency": 60, "update": { "state": "idle", @@ -77,8 +77,8 @@ "voltage": 118.8, "state": "ON", "ac_frequency": 60, - "energy": 135.45, - "power": 101.7, + "energy": 135.46, + "power": 99.4, "current": 0.92, "power_factor": 0.95, "update": { @@ -98,10 +98,10 @@ "voltage": 120, "energy": 64.68, "state": "ON", - "power": 49.1, - "current": 0.57, + "power": 49.8, + "current": 0.6, "ac_frequency": 60, - "power_factor": 0.72, + "power_factor": 0.73, "update": { "state": "idle", "installed_version": 268513381, @@ -119,7 +119,7 @@ "energy": 8.94, "current": 0.01, "power": 0.2, - "power_factor": 0.11, + "power_factor": 0.13, "linkquality": 80, "update": { "state": "idle", @@ -172,7 +172,7 @@ "0xffffb40e060893d8": { "state": "OFF", "led_brightness": 100, - "voltage": 120.3, + "voltage": 120.8, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, "energy": 3.75, @@ -192,7 +192,7 @@ }, "0xa4c1380d0679ffff": { "battery": 100, - "temperature": 27.1, + "temperature": 27.2, "temperature_units": "celsius", "temperature_calibration": 0, "update": {