.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json

This commit is contained in:
Home Assistant Version Control
2026-10-16 19:27:37 +00:00
parent a007c5190f
commit fbf82b796e
2 changed files with 11 additions and 10 deletions
+1
View File
@@ -4724,3 +4724,4 @@
{"timestamp": "2026-10-16T19:16:14.811513+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.cfs_lite_1_remaining", "sensor.cfs_lite_2_remaining", "sensor.cfs_lite_3_remaining", "sensor.cfs_lite_4_remaining"], "fields": ["entity_id", "state", "attributes"], "attribute_keys": ["friendly_name", "unit_of_measurement", "device_class", "state_class"]}, "execution_time_ms": 1.3387203216552734, "success": true, "error_message": null, "response_size_bytes": 1340, "user_context": null}
{"timestamp": "2026-10-16T19:16:38.400285+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": true, "include_screenshot": false, "view_path": null, "query": "CFS", "describe": false}, "execution_time_ms": 58.0902099609375, "success": true, "error_message": null, "response_size_bytes": 123558, "user_context": null}
{"timestamp": "2026-10-16T19:26:13.135994+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "template", "name": "Filament Storage Remaining", "helper_id": null, "entry_id": null, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "icon": null, "area_id": null, "labels": null, "min_value": null, "max_value": null, "step": null, "unit_of_measurement": null, "options": null, "initial": null, "mode": null, "has_date": null, "has_time": null, "restore": null, "duration": null, "monday": null, "tuesday": null, "wednesday": null, "thursday": null, "friday": null, "saturday": null, "sunday": null, "latitude": null, "longitude": null, "radius": null, "passive": null, "user_id": null, "device_trackers": null, "picture": null, "tag_id": null, "description": null, "pattern": null, "category": null, "config": {"next_step_id": "sensor", "state": "{%- set sp = states.sensor | selectattr('entity_id','match','^sensor[.]spoolman_spool_[0-9]+$') | selectattr('attributes.location','defined') | selectattr('attributes.location','eq','Storage') | selectattr('state','is_number') | map(attribute='state') | map('float',-1) | select('gt',-1) | list -%}{{ sp | sum | round(2) }}", "unit_of_measurement": "g", "device_class": "weight", "state_class": "measurement", "additional_options": {"availability": "{%- set sp = states.sensor | selectattr('entity_id','match','^sensor[.]spoolman_spool_[0-9]+$') | selectattr('attributes.location','defined') | selectattr('attributes.location','eq','Storage') | selectattr('state','is_number') | list -%}{{ sp | count > 0 }}"}}, "wait": true, "action": null, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 198.43125343322754, "success": true, "error_message": null, "response_size_bytes": 53389, "user_context": null}
{"timestamp": "2026-10-16T19:27:32.046146+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "sensor.filament_storage_remaining", "fields": ["entity_id", "state", "attributes"], "attribute_keys": null}, "execution_time_ms": 2.190828323364258, "success": true, "error_message": null, "response_size_bytes": 568, "user_context": null}
+10 -10
View File
@@ -4,7 +4,7 @@
"state": "ON",
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 120.8,
"voltage": 121.3,
"countdown_to_turn_on": 0,
"ac_frequency": 60,
"power_factor": 0.14,
@@ -27,7 +27,7 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"power": 2.5,
"power": 2.3,
"current": 0.1,
"energy": 57.31,
"power_factor": 0.2,
@@ -78,8 +78,8 @@
"state": "ON",
"ac_frequency": 60,
"energy": 224.68,
"power": 104.1,
"current": 1.01,
"power": 100.7,
"current": 0.91,
"power_factor": 0.95,
"update": {
"state": "idle",
@@ -95,11 +95,11 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"voltage": 119.3,
"energy": 105.64,
"voltage": 120.8,
"energy": 105.66,
"state": "ON",
"power": 56.8,
"current": 0.71,
"power": 56.5,
"current": 0.59,
"ac_frequency": 60,
"power_factor": 0.78,
"update": {
@@ -114,7 +114,7 @@
},
"0xffffb40e060895b3": {
"state": "ON",
"voltage": 118.6,
"voltage": 120.7,
"ac_frequency": 60,
"energy": 15.42,
"current": 0.02,
@@ -136,7 +136,7 @@
"0xffffb40e0608864e": {
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 122.2,
"voltage": 121,
"energy": 39.11,
"countdown_to_turn_on": 0,
"state": "ON",