diff --git a/dist/hpsu-dashboard-card.js b/dist/hpsu-dashboard-card.js
index 7a77e95..214f4f2 100644
--- a/dist/hpsu-dashboard-card.js
+++ b/dist/hpsu-dashboard-card.js
@@ -27,10 +27,11 @@ const entities_configuration = [
{ id: "speicher_soll", label: "Speicher Soll", type: "select", rectId: "speicher_soll_value", offset: 6, unit: "°C" },
{ id: "mischer", label: "Mischer", type: "sensor", rectId: "dhw_mixer_value", offset: 6, unit: "%", fontSize: "40px" },
{ id: "bypass", label: "Bypass", type: "sensor", rectId: "bypass_value", offset: 6, unit: "%", fontSize: "40px" },
+ { id: "fehlercode", label: "Fehlercode", type: "text_sensor", rectId: "fehlercode_value", offset: 6, fontSize: "40px", align: "left", "suffix": "Fehlercode: " },
{ id: "betriebsmodus", label: "Betriebsmodus", type: "select", rectId: "betriebsmodus_value", offset: 6, fontSize: "40px", align: "left", "suffix": "Modus: " },
{ id: "betriebsart", label: "Betriebsart", type: "text_sensor", rectId: "betriebsart_value", offset: 6, fontSize: "40px", align: "left", "suffix": "Betriebsart: " },
{ id: "thermische_leistung", label: "Thermische Leistung", type: "sensor", rectId: "therm_leistung_value", offset: 6, fontSize: "40px", align: "left", "suffix": "Therm. Leistung: " },
- { id: "fehlercode", label: "Fehlercode", type: "text_sensor", rectId: "fehlercode_value", offset: 6, fontSize: "40px", align: "left", "suffix": "Fehlercode: " }
+ { id: "cop", label: "COP", type: "sensor", rectId: "cop_value", offset: 6, fontSize: "40px", align: "left", "suffix": "COP: ", required: false }
];
//////////////////////////////////////////////////////////////////
@@ -231,6 +232,7 @@ class HPSUDashboardCard extends HTMLElement {
state.labelElement.textContent = "N/D";
state.labelElement.setAttribute("fill", "orange");
state.labelElement.setAttribute("font-size", "30px");
+ state.labelElement.setAttribute("display", state.required === false ? "none" : "block");
} else if (newState.state == "unknown" || newState.state == "unavailable") {
state.labelElement.textContent = "N/A";
state.labelElement.setAttribute("fill", "orange");
diff --git a/dist/hpsu.svg b/dist/hpsu.svg
index 9424e69..71c6a82 100644
--- a/dist/hpsu.svg
+++ b/dist/hpsu.svg
@@ -21,9 +21,9 @@
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
- inkscape:zoom="0.90509668"
- inkscape:cx="2063.8679"
- inkscape:cy="1168.3835"
+ inkscape:zoom="1.28"
+ inkscape:cx="2074.6094"
+ inkscape:cy="1179.2969"
inkscape:window-width="1920"
inkscape:window-height="1129"
inkscape:window-x="-8"
@@ -890,26 +890,32 @@
id="Info"
transform="matrix(0.95,0,0,0.95,-50.807485,553.23936)">