diff --git a/.storage/lovelace.sparkx_i7 b/.storage/lovelace.sparkx_i7 index 244150f5..1d77990b 100644 --- a/.storage/lovelace.sparkx_i7 +++ b/.storage/lovelace.sparkx_i7 @@ -99,6 +99,18 @@ "primary": "{{ states(\"sensor.sparkx_i7_print_status\") | replace(\"_\", \" \") | title }}", "secondary": "{% set err = state_attr(\"sensor.sparkx_i7_print_status\", \"err\") or {} %}{% set code = err.get(\"errcode\", 0) | int(0) %}{% set msg = err.get(\"value\", \"\") %}{% if state_attr(\"sensor.sparkx_i7_print_status\", \"paused_flag\") | default(false) %}Print paused{% elif msg %}ERROR {{ code }}: {{ msg }}{% elif code %}Printer error {{ code }}{% else %}No printer error{% endif %}", "type": "custom:mushroom-template-card" + }, + { + "entity": "sensor.sparkx_i7_print_status", + "grid_options": { + "columns": 6 + }, + "icon": "mdi:file-document-outline", + "multiline_secondary": true, + "name": "Current File", + "primary": "Current File", + "secondary": "{% set file = state_attr(\"sensor.sparkx_i7_print_status\", \"file\") or \"\" %}{% if file %}{{ file.split(\"/\")[-1] | replace(\".gcode\", \"\") }}{% else %}No active file{% endif %}", + "type": "custom:mushroom-template-card" } ], "type": "grid" diff --git a/zigbee2mqtt/state.json b/zigbee2mqtt/state.json index d41fdcbc..d42dd3f6 100644 --- a/zigbee2mqtt/state.json +++ b/zigbee2mqtt/state.json @@ -4,7 +4,7 @@ "state": "ON", "led_brightness": 100, "countdown_to_turn_off": 0, - "voltage": 121.8, + "voltage": 121, "countdown_to_turn_on": 0, "ac_frequency": 60, "power_factor": 0.11, @@ -22,15 +22,15 @@ }, "0xffffb40e0607af27": { "state": "ON", - "voltage": 121, + "voltage": 121.2, "ac_frequency": 60, "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "power": 2.3, + "power": 2, "current": 0.1, "energy": 46.33, - "power_factor": 0.18, + "power_factor": 0.16, "update": { "state": "idle", "installed_version": 268513381, @@ -45,10 +45,10 @@ "state": "ON", "led_brightness": 100, "countdown_to_turn_off": 0, - "voltage": 121.3, + "voltage": 120.2, "countdown_to_turn_on": 0, "energy": 90.33, - "power_factor": 0.2, + "power_factor": 0.3, "ac_frequency": 60, "update": { "state": "idle", @@ -74,7 +74,7 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "voltage": 120.1, + "voltage": 119.5, "state": "ON", "ac_frequency": 60, "energy": 184.46, @@ -95,13 +95,13 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "voltage": 121.4, + "voltage": 120.3, "energy": 91.48, "state": "ON", - "power": 64.2, - "current": 0.72, + "power": 55, + "current": 0.56, "ac_frequency": 60, - "power_factor": 0.83, + "power_factor": 0.76, "update": { "state": "idle", "installed_version": 268513381, @@ -114,7 +114,7 @@ }, "0xffffb40e060895b3": { "state": "ON", - "voltage": 121.7, + "voltage": 120.5, "ac_frequency": 60, "energy": 12.13, "current": 0.24, @@ -136,7 +136,7 @@ "0xffffb40e0608864e": { "led_brightness": 100, "countdown_to_turn_off": 0, - "voltage": 121.8, + "voltage": 120.8, "energy": 28.84, "countdown_to_turn_on": 0, "state": "ON", @@ -171,7 +171,7 @@ }, "0xa4c1380d0679ffff": { "battery": 100, - "temperature": 23.9, + "temperature": 24, "temperature_units": "celsius", "temperature_calibration": 0, "update": {