4 files
This commit is contained in:
@@ -4298,3 +4298,4 @@
|
||||
{"timestamp": "2026-10-10T06:33:29.754496+00:00", "tool_name": "ha_search", "parameters": {"query": "Reload Printer data", "domain_filter": null, "area_filter": null, "search_types": null, "limit": 15, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 448.3673572540283, "success": true, "error_message": null, "response_size_bytes": 507, "user_context": null}
|
||||
{"timestamp": "2026-10-10T06:33:29.756280+00:00", "tool_name": "ha_search", "parameters": {"query": "Printer finished", "domain_filter": null, "area_filter": null, "search_types": null, "limit": 15, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 449.75900650024414, "success": true, "error_message": null, "response_size_bytes": 504, "user_context": null}
|
||||
{"timestamp": "2026-10-10T06:34:47.401520+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": null, "mode": null, "query": null}, "execution_time_ms": 45.732975006103516, "success": true, "error_message": null, "response_size_bytes": 23642, "user_context": null}
|
||||
{"timestamp": "2026-10-10T06:37:56.509432+00:00", "tool_name": "ha_manage_hacs", "parameters": {"action": "download", "repository_id": "thomasloven/lovelace-state-switch", "version": null, "repository": null, "category": null}, "execution_time_ms": 2922.42693901062, "success": true, "error_message": null, "response_size_bytes": 635, "user_context": null}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
import nodeResolve from "@rollup/plugin-node-resolve";
|
||||
import json from "@rollup/plugin-json";
|
||||
import typescript from "rollup-plugin-typescript2";
|
||||
import { terser } from "rollup-plugin-terser";
|
||||
import babel from "@rollup/plugin-babel";
|
||||
|
||||
const dev = process.env.ROLLUP_WATCH;
|
||||
|
||||
export default {
|
||||
input: "src/main.ts",
|
||||
output: {
|
||||
file: "state-switch.js",
|
||||
format: "es",
|
||||
},
|
||||
plugins: [
|
||||
nodeResolve(),
|
||||
json(),
|
||||
typescript(),
|
||||
babel({
|
||||
exclude: "node_modules/**",
|
||||
}),
|
||||
!dev && terser({ format: { comments: false } }),
|
||||
],
|
||||
};
|
||||
File diff suppressed because one or more lines are too long
+17
-17
@@ -7,7 +7,7 @@
|
||||
"voltage": 121.7,
|
||||
"countdown_to_turn_on": 0,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.14,
|
||||
"power_factor": 0.13,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -27,8 +27,8 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"power": 1.9,
|
||||
"current": 0.09,
|
||||
"power": 2.5,
|
||||
"current": 0.1,
|
||||
"energy": 54.37,
|
||||
"power_factor": 0.18,
|
||||
"update": {
|
||||
@@ -45,10 +45,10 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 120.8,
|
||||
"voltage": 119.2,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 105.03,
|
||||
"power_factor": 0.2,
|
||||
"energy": 105.04,
|
||||
"power_factor": 0.89,
|
||||
"ac_frequency": 60,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -58,8 +58,8 @@
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"linkquality": 145,
|
||||
"power": 0.2,
|
||||
"current": 0.01,
|
||||
"power": 88.4,
|
||||
"current": 0.85,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
"0xb40e060fffe031e3": {
|
||||
@@ -74,12 +74,12 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 119.6,
|
||||
"voltage": 119.7,
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 213.19,
|
||||
"power": 101.4,
|
||||
"current": 0.9,
|
||||
"energy": 213.2,
|
||||
"power": 99,
|
||||
"current": 0.87,
|
||||
"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": 121.7,
|
||||
"voltage": 121.2,
|
||||
"energy": 101.22,
|
||||
"state": "ON",
|
||||
"power": 11.1,
|
||||
"current": 0.18,
|
||||
"power": 11.9,
|
||||
"current": 0.41,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.54,
|
||||
"update": {
|
||||
@@ -136,7 +136,7 @@
|
||||
"0xffffb40e0608864e": {
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 121.2,
|
||||
"voltage": 121.6,
|
||||
"energy": 35.63,
|
||||
"countdown_to_turn_on": 0,
|
||||
"state": "ON",
|
||||
@@ -171,7 +171,7 @@
|
||||
},
|
||||
"0xa4c1380d0679ffff": {
|
||||
"battery": 100,
|
||||
"temperature": 21.3,
|
||||
"temperature": 21.2,
|
||||
"temperature_units": "celsius",
|
||||
"temperature_calibration": 0,
|
||||
"update": {
|
||||
|
||||
Reference in New Issue
Block a user