Open jofotoo opened 2 years ago
+1
+1
I noticed that these lines are in the file around line 30:
.container {
position: relative;
height: ${config.style.height || '100%'};
width: ${config.style.width};
top: ${config.style.top};
left: ${config.style.left};
display: flex;
flex-direction: column;
}
Which is requiring the style:
map to be set in the config. I'm not sure why this .container class needed to be included, but the error occurs when style:
is not set, breaking the entire file and rendering the card as empty. Try adding this to your config:
style:
width: 100%
height: 100%
left: 0
top: 0
For example:
type: custom:circle-sensor-card
entity: sensor.config
style:
width: 100%
height: 100%
left: 0
top: 0
HA 2021.11 Config as follows:
Repeated messages in the log:
Let me know if you need further details :)