This commit is contained in:
Home Assistant Version Control
2026-08-07 13:19:04 +00:00
parent 6f3efb3ec0
commit a31c8b842b
3 changed files with 25 additions and 21 deletions
+1
View File
@@ -666,3 +666,4 @@
{"timestamp": "2026-08-07T13:13:53.876638+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": "sensor.octoprint_successful_prints_count", "source": "statistics", "start_time": "7d", "end_time": null, "minimal_response": true, "significant_changes_only": true, "limit": null, "offset": null, "period": "day", "statistic_types": ["change"], "order": "desc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 20.270347595214844, "success": true, "error_message": null, "response_size_bytes": 1028, "user_context": null} {"timestamp": "2026-08-07T13:13:53.876638+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": "sensor.octoprint_successful_prints_count", "source": "statistics", "start_time": "7d", "end_time": null, "minimal_response": true, "significant_changes_only": true, "limit": null, "offset": null, "period": "day", "statistic_types": ["change"], "order": "desc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 20.270347595214844, "success": true, "error_message": null, "response_size_bytes": 1028, "user_context": null}
{"timestamp": "2026-08-07T13:14:26.443773+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": "sensor.octoprint_successful_prints_count", "source": "statistics", "start_time": "6h", "end_time": null, "minimal_response": true, "significant_changes_only": true, "limit": null, "offset": null, "period": "hour", "statistic_types": ["change"], "order": "desc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 16.463279724121094, "success": true, "error_message": null, "response_size_bytes": 1030, "user_context": null} {"timestamp": "2026-08-07T13:14:26.443773+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": "sensor.octoprint_successful_prints_count", "source": "statistics", "start_time": "6h", "end_time": null, "minimal_response": true, "significant_changes_only": true, "limit": null, "offset": null, "period": "hour", "statistic_types": ["change"], "order": "desc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 16.463279724121094, "success": true, "error_message": null, "response_size_bytes": 1030, "user_context": null}
{"timestamp": "2026-08-07T13:14:49.813642+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "counter", "service": "reset", "entity_id": "counter.octoprint_successful_prints", "data": null, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 9.71221923828125, "success": true, "error_message": null, "response_size_bytes": 393, "user_context": null} {"timestamp": "2026-08-07T13:14:49.813642+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "counter", "service": "reset", "entity_id": "counter.octoprint_successful_prints", "data": null, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 9.71221923828125, "success": true, "error_message": null, "response_size_bytes": 393, "user_context": null}
{"timestamp": "2026-08-07T13:18:58.864361+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "for card in config['views'][1]['sections'][1]['cards']:\n if card.get('type') == 'custom:apexcharts-card':\n card['graph_span'] = \"30d\"\n card['span'] = {\"end\": \"day\"}\n for s in card['series']:\n s.pop('statistics', None)\n s['group_by'] = {\"func\": \"diff\", \"duration\": \"1d\", \"start_with_last\": True}", "config_hash": "bac7d166cbc56123", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 14.222860336303711, "success": true, "error_message": null, "response_size_bytes": 951, "user_context": null}
+11 -8
View File
@@ -546,10 +546,10 @@
"name": "Successful", "name": "Successful",
"color": "#66bb6a", "color": "#66bb6a",
"type": "column", "type": "column",
"statistics": { "group_by": {
"type": "change", "func": "diff",
"period": "day", "duration": "1d",
"align": "end" "start_with_last": true
} }
}, },
{ {
@@ -557,15 +557,18 @@
"name": "Failed", "name": "Failed",
"color": "#ef5350", "color": "#ef5350",
"type": "column", "type": "column",
"statistics": { "group_by": {
"type": "change", "func": "diff",
"period": "day", "duration": "1d",
"align": "end" "start_with_last": true
} }
} }
], ],
"grid_options": { "grid_options": {
"columns": "full" "columns": "full"
},
"span": {
"end": "day"
} }
} }
] ]
+13 -13
View File
@@ -27,7 +27,7 @@
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"power": 2.6, "power": 2.1,
"current": 0.12, "current": 0.12,
"energy": 26.83, "energy": 26.83,
"power_factor": 0.15, "power_factor": 0.15,
@@ -45,7 +45,7 @@
"state": "ON", "state": "ON",
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"voltage": 120.3, "voltage": 119.8,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"energy": 50.24, "energy": 50.24,
"power_factor": 0.2, "power_factor": 0.2,
@@ -74,13 +74,13 @@
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"voltage": 119.5, "voltage": 119,
"state": "ON", "state": "ON",
"ac_frequency": 60, "ac_frequency": 60,
"energy": 102.35, "energy": 102.35,
"power": 0.8, "power": 99.1,
"current": 0.05, "current": 0.89,
"power_factor": 0.41, "power_factor": 0.95,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -98,10 +98,10 @@
"voltage": 120.3, "voltage": 120.3,
"energy": 43.64, "energy": 43.64,
"state": "ON", "state": "ON",
"power": 89.5, "power": 67,
"current": 0.78, "current": 0.71,
"ac_frequency": 60, "ac_frequency": 60,
"power_factor": 0.76, "power_factor": 0.77,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -114,12 +114,12 @@
}, },
"0xffffb40e060895b3": { "0xffffb40e060895b3": {
"state": "ON", "state": "ON",
"voltage": 120.5, "voltage": 120,
"ac_frequency": 60, "ac_frequency": 60,
"energy": 6.33, "energy": 6.33,
"current": 0.01, "current": 0.01,
"power": 0, "power": 0,
"power_factor": 0.22, "power_factor": 0.11,
"linkquality": 123, "linkquality": 123,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -143,7 +143,7 @@
"current": 0.02, "current": 0.02,
"ac_frequency": 60, "ac_frequency": 60,
"power": 0.3, "power": 0.3,
"power_factor": 0.14, "power_factor": 0.2,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -245,7 +245,7 @@
}, },
"0xb40e060fffe717c5": { "0xb40e060fffe717c5": {
"battery": 100, "battery": 100,
"occupancy": false, "occupancy": true,
"tamper": false, "tamper": false,
"battery_low": false, "battery_low": false,
"linkquality": 72, "linkquality": 72,