So in Etwa:
type: custom:config-template-card
entities:
- sensor.tagesertrag_sensor_name
card:
type: gauge
entity: sensor.bkw_ch1_power
name: >-
${'P1 - Tagesertrag: ' + states['sensor.tagesertrag_sensor_name'].state + ' kWh' }
needle: true
min: 0
max: 350
unit: W
segments:
- from: 0
color: '#43a047'
- from: 275
color: '#1e81b0'
- from: 300
color: '#db4437'
theme: Mushroom Square
Gruß
Osorkon