Hi,
ich bastle mir gerade für meine diversen Temperatursensoren ein Dashboard zur Anzeige auf einem Fire HD8. Habe schon einige Ansätze probiert, bekomme allerdings bei den einen Sachen die Karten nicht klein, bzw. dies hier nicht größer. Wer kann mir den entscheidenden Tipp geben:
type: custom:flex-horseshoe-card
card_mod: null
style: |
ha-card {
hight: 150%;
width: 150%;
}
entities:
- entity: sensor.light_manager_temperatur_kanal_6
decimals: 1
icon: mdi:solar-power-variant
name: SolarAkku
area: Balkon
- entity: sensor.light_manager_luftfeuchtigkeit_kanal_6
decimals: 0
name: Humidity
- entity: sensor.solarbank_2_e1600_pro_solarleistung
decimals: 0
name: Solar - Live
show:
scale_tickmarks: true
horseshoe_style: lineargradient
layout:
hlines:
- id: 0
xpos: 50
ypos: 41
length: 70
styles:
- stroke: var(--primary-text-color);
- stroke-width: 2.0;
- opacity: 0.5;
- stroke-linecap: round;
color: "#FFF6E3"
vlines:
- id: 0
xpos: 50
ypos: 56
length: 20
styles:
- stroke: var(--primary-text-color);
- opacity: 0.5;
- stroke-width: 2;
- stroke-linecap: round;
states:
- id: 0
entity_index: 0
xpos: 50
ypos: 36
styles:
- font-size: 3.9em;
- id: 1
entity_index: 1
xpos: 48
ypos: 60
styles:
- font-size: 2.9em;
- text-anchor: end;
- font-style: normal;
- opacity: 0.7;
- id: 2
entity_index: 2
xpos: 52
ypos: 60
styles:
- font-size: 2.9em;
- text-anchor: start;
- font-style: normal;
- opacity: 0.7;
names:
- id: 0
entity_index: 0
xpos: 50
ypos: 85
styles:
- font-size: 1.5em;
- text-transform: capitalize;
- id: 1
entity_index: 1
xpos: 46
ypos: 67
styles:
- font-size: 0.6em;
- text-anchor: end;
- opacity: 0.5;
- text-transform: capitalize;
- id: 2
entity_index: 2
xpos: 54
ypos: 67
styles:
- font-size: 0.6em;
- text-anchor: start;
- opacity: 0.5;
- text-transform: capitalize;
areas:
- id: 0
entity_index: 0
xpos: 50
ypos: 76
styles:
- font-size: 1.0em;
- opacity: 0.4;
horseshoe_state:
color: "#43a047"
horseshoe_scale:
min: -10
max: 40
color: "#2e7031"
width: 2
color_stops:
"10": "#0000ff"
"20": "#ffbf00"
"30": "#ff0000"
Nicht wundern, habe zu Testzwecken 3x die gleiche Card eingefügt. Mit hight und width komme ich nicht weiter.
Gruss