3 files
This commit is contained in:
@@ -934,3 +934,4 @@
|
||||
{"timestamp": "2026-08-08T02:27:34.703337+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "sensor.octoprint_approximate_completion_time", "fields": null, "attribute_keys": null}, "execution_time_ms": 7.023811340332031, "success": true, "error_message": null, "response_size_bytes": 781, "user_context": null}
|
||||
{"timestamp": "2026-08-08T02:27:34.962521+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "printer-stats", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": "print", "mode": null, "query": null}, "execution_time_ms": 1.9631385803222656, "success": true, "error_message": null, "response_size_bytes": 6198, "user_context": null}
|
||||
{"timestamp": "2026-08-08T02:27:40.624244+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{{ (as_local(states('sensor.octoprint_approximate_completion_time') | as_datetime)).strftime('%I:%M %p').lstrip('0') }}", "timeout": 3, "report_errors": true}, "execution_time_ms": 82.68356323242188, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"SERVICE_CALL_FAILED\",\n \"message\": \"Command failed: {}\",\n \"suggestion\": \"Check template syntax - ensure proper Jinja2 formatting\",\n \"suggestions\": [\n \"Check template syntax - ensure proper Jinja2 formatting\",\n \"Verify entity_ids exist using ha_get_state()\",\n \"Use default values: {{ states('sensor.temp') | float(0) }}\",\n \"Check for typos in function names and entity references\",\n \"Test simpler templates first to isolate issues\"\n ]\n },\n \"template\": \"{{ (as_local(states('sensor.octoprint_approximate_completion_time') | as_datetime)).strftime('%I:%M %p').lstrip('0') }}\",\n \"request_id\": 60541\n}", "response_size_bytes": null, "user_context": null}
|
||||
{"timestamp": "2026-08-08T02:28:50.650095+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][1]['cards'][5]['content'] = \"\"\"{% set finish = states('sensor.octoprint_approximate_completion_time') | as_datetime %}{% if finish %}**Est. finish:** {{ (as_local(finish)).strftime('%I:%M %p').lstrip('0') }}{% else %}**Est. finish:** —{% endif %}\"\"\"", "config_hash": "1909c011c5fd447d", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 34.88755226135254, "success": true, "error_message": null, "response_size_bytes": 30364, "user_context": null}
|
||||
|
||||
@@ -128,7 +128,7 @@
|
||||
},
|
||||
{
|
||||
"type": "markdown",
|
||||
"content": "**Est. finish:** {{ (as_local(states('sensor.octoprint_approximate_completion_time') | as_datetime)).strftime('%I:%M %p').lstrip('0') }}",
|
||||
"content": "{% set finish = states('sensor.octoprint_approximate_completion_time') | as_datetime %}{% if finish %}**Est. finish:** {{ (as_local(finish)).strftime('%I:%M %p').lstrip('0') }}{% else %}**Est. finish:** —{% endif %}",
|
||||
"grid_options": {
|
||||
"columns": 6
|
||||
}
|
||||
|
||||
+23
-23
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"0xffffb40e0607ace4": {
|
||||
"energy": 13.99,
|
||||
"energy": 14,
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 118.4,
|
||||
"voltage": 118,
|
||||
"countdown_to_turn_on": 0,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.45,
|
||||
"power_factor": 0.58,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -15,9 +15,9 @@
|
||||
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota",
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"power": 159.2,
|
||||
"power": 134.5,
|
||||
"linkquality": 116,
|
||||
"current": 0.46,
|
||||
"current": 1.87,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
"0xffffb40e0607af27": {
|
||||
@@ -29,7 +29,7 @@
|
||||
"countdown_to_turn_on": 0,
|
||||
"power": 247.9,
|
||||
"current": 1.8,
|
||||
"energy": 27.1,
|
||||
"energy": 27.12,
|
||||
"power_factor": 0.98,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -45,7 +45,7 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 117.6,
|
||||
"voltage": 117.9,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 50.67,
|
||||
"power_factor": 0.21,
|
||||
@@ -74,12 +74,12 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 116.4,
|
||||
"voltage": 116.1,
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 103.28,
|
||||
"power": 103.3,
|
||||
"current": 0.96,
|
||||
"energy": 103.29,
|
||||
"power": 102.8,
|
||||
"current": 0.91,
|
||||
"power_factor": 0.96,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -95,13 +95,13 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 117.1,
|
||||
"energy": 44.4,
|
||||
"voltage": 116.9,
|
||||
"energy": 44.41,
|
||||
"state": "ON",
|
||||
"power": 71.1,
|
||||
"current": 0.78,
|
||||
"power": 70.6,
|
||||
"current": 0.76,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.77,
|
||||
"power_factor": 0.82,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -114,7 +114,7 @@
|
||||
},
|
||||
"0xffffb40e060895b3": {
|
||||
"state": "ON",
|
||||
"voltage": 117.7,
|
||||
"voltage": 118.1,
|
||||
"ac_frequency": 60,
|
||||
"energy": 6.4,
|
||||
"current": 0.01,
|
||||
@@ -136,14 +136,14 @@
|
||||
"0xffffb40e0608864e": {
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 118.6,
|
||||
"voltage": 118.8,
|
||||
"energy": 17.35,
|
||||
"countdown_to_turn_on": 0,
|
||||
"state": "ON",
|
||||
"current": 0.02,
|
||||
"ac_frequency": 60,
|
||||
"power": 0.3,
|
||||
"power_factor": 0.2,
|
||||
"power_factor": 0.14,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -172,7 +172,7 @@
|
||||
"0xffffb40e060893d8": {
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"voltage": 118.5,
|
||||
"voltage": 118.6,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 3.04,
|
||||
@@ -187,8 +187,8 @@
|
||||
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota",
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"power_factor": 0.12,
|
||||
"power": 0.2
|
||||
"power_factor": 0.06,
|
||||
"power": 0.4
|
||||
},
|
||||
"0xa4c1380d0679ffff": {
|
||||
"battery": 100,
|
||||
@@ -245,7 +245,7 @@
|
||||
},
|
||||
"0xb40e060fffe717c5": {
|
||||
"battery": 100,
|
||||
"occupancy": true,
|
||||
"occupancy": false,
|
||||
"tamper": false,
|
||||
"battery_low": false,
|
||||
"linkquality": 72,
|
||||
|
||||
Reference in New Issue
Block a user