diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index 82f1283..823fe0a 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -542,3 +542,5 @@ {"timestamp": "2026-08-07T01:39:51.316489+00:00", "tool_name": "ha_get_logs", "parameters": {"source": "supervisor", "limit": 20, "search": "OctoPrint", "order": "newest", "hours_back": 1, "entity_id": null, "end_time": null, "offset": 0, "compact": true, "level": null, "slug": "core_mosquitto"}, "execution_time_ms": 321.64788246154785, "success": true, "error_message": null, "response_size_bytes": 193, "user_context": null} {"timestamp": "2026-08-07T01:39:57.749369+00:00", "tool_name": "ha_get_logs", "parameters": {"source": "supervisor", "limit": 40, "search": "192.168.1.145", "order": "newest", "hours_back": 1, "entity_id": null, "end_time": null, "offset": 0, "compact": true, "level": null, "slug": "core_mosquitto"}, "execution_time_ms": 366.4402961730957, "success": true, "error_message": null, "response_size_bytes": 3746, "user_context": null} {"timestamp": "2026-08-07T01:40:28.298570+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["light.playroom_light", "climate.basement"], "fields": ["state", "attributes"], "attribute_keys": ["temperature", "hvac_modes", "hvac_action", "min_temp", "max_temp"]}, "execution_time_ms": 12.988567352294922, "success": true, "error_message": null, "response_size_bytes": 877, "user_context": null} +{"timestamp": "2026-08-07T01:41:22.186320+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"alias": "3D Print Started - Playroom Light & Basement Heat", "description": "When an OctoPrint print starts (MQTT event), turn on the playroom light and set the basement to 22 degrees C.", "triggers": [{"trigger": "mqtt", "topic": "octoPrint/event/PrintStarted"}], "actions": [{"action": "light.turn_on", "target": {"entity_id": "light.playroom_light"}}, {"action": "climate.set_temperature", "target": {"entity_id": "climate.basement"}, "data": {"temperature": 22, "hvac_mode": "heat"}}], "mode": "single"}, "identifier": null, "python_transform": null, "config_hash": null, "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 1354.3152809143066, "success": true, "error_message": null, "response_size_bytes": 62326, "user_context": null} +{"timestamp": "2026-08-07T01:41:27.234737+00:00", "tool_name": "ha_search", "parameters": {"query": "3D Print Started", "domain_filter": "automation", "area_filter": null, "search_types": null, "limit": 10, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": ["entity_id", "friendly_name", "state"], "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 187.2701644897461, "success": true, "error_message": null, "response_size_bytes": 935, "user_context": null} diff --git a/automations.yaml b/automations.yaml index 149a615..29b51c7 100644 --- a/automations.yaml +++ b/automations.yaml @@ -3184,3 +3184,21 @@ entity_id: input_text.living_room_previous_brightness data: value: '' +- id: '1786066880942' + alias: 3D Print Started - Playroom Light & Basement Heat + description: When an OctoPrint print starts (MQTT event), turn on the playroom light + and set the basement to 22 degrees C. + triggers: + - trigger: mqtt + topic: octoPrint/event/PrintStarted + actions: + - action: light.turn_on + target: + entity_id: light.playroom_light + - action: climate.set_temperature + target: + entity_id: climate.basement + data: + temperature: 22 + hvac_mode: heat + mode: single