Buonasera, ragazzi sto creando una card per la wallbox utilizzando il js https://github.com/tmjo/charger-card
dovrei aggiungere delle entità cliccabili nella card
"type: custom:charger-card
entity: sensor.wallbox_charger_state
customCardTheme: theme_custom
chargerImage: Black
brand: Lektri.co
details:
status:
entity_id: sensor.wallbox_charger_state
statetext:
disconnected: Disconesso
Connected: Connesso
Charging: In Carica
Completed: Completa
Error: Errore
Available: Pronta
Connected,NeedAuth: Connesso, Attesa
name:
entity_id: sensor.wallbox_instant_power
unit_show: true
collapsiblebuttons:
group1:
text: Informazioni
icon: mdi:information
group2:
text: Informazioni
icon: mdi:speedometer
group3:
text: Settaggi
icon: mdi:car-settings
info_left:
- entity_id: sensor.wallbox_temperature
text: Temperatura
icon: mdi:thermometer
unit_show: true
- entity_id: sensor.wallbox_install_current
text: Temperatura
unit_show: true
info_right:
- entity_id: sensor.wallbox_voltage
text: voltage
unit_show: true
- entity_id: sensor.wallbox_instant_power
text: power
unit_show: true
- entity_id: sensor.wallbox_current
text: A Current
unit_show: true
group1:
- entity_id: number.wallbox_user_current
unit_show: true
icon: null
text: Imposta Ampere
group2:
- entity_id: sensor.wallbox_temperature
text: temperature
unit_show: true
icon: mdi:thermometer
- entity_id: sensor.wallbox_voltage
text: voltage
unit_show: true
- entity_id: sensor.wallbox_current
text: charger_current
unit_show: true
- entity_id: sensor.wallbox_session_energy
text: session_energy
unit_show: true
- entity_id: sensor.wallbox_total_charged_energy
text: lifetime_energy
unit_show: true
group3:
- entity_id: switch.wallbox_require_auth
name: Require Auth
stats:
default:
- entity_id: sensor.wallbox_charging_time
text: Tempo Carica
unit_show: true
- entity_id: sensor.wallbox_session_energy
text: Sessione
unit_show: true
- entity_id: sensor.wallbox_total_charged_energy
text: Totale
unit_show: true
customImage: \local\foto-pkg\wallbox.png"
nel group 3 dovrei aggiungere delle entità modificabili
type: entities
entities:
- entity: button.wallbox_charge_pause
name: Charge Pause
- entity: button.wallbox_charge_resume
name: Charge Resume
- entity: button.wallbox_charge_stop
name: Charge Stop
- entity: button.wallbox_charger_restart
name: Charger Restart
- entity: button.wallbox_charger_start
name: Charger Start
- entity: number.wallbox_dynamic_current
name: Dynamic Current
- entity: number.wallbox_led_brightness
name: Led Brightness
- entity: switch.wallbox_lock
name: Lock
- entity: switch.wallbox_require_auth
name: Require Auth
- entity: number.wallbox_user_current
name: User Current
title: Wallbox