@adrien.b wrote:
Hello, I’m using vertical stack with several glances cards to display various entities, switches and sensors on my home assistant main screen.
cards: - entities: - entity: person.he name: He - entity: person.she name: She - entity: binary_sensor.door name: Garage - entity: switch.fibaro_system_fgs223_double_relay_switch_2 hold_action: action: more-info name: Garage show_icon: true show_name: true tap_action: action: toggle type: button show_name: true type: glance - entities: - entity: sensor.fibaro_system_fgbs222_smart_implant_temperature_2 name: Extérieur - entity: sensor.fibaro_system_fgk101_door_opening_sensor_temperature name: Piscine - entity: sensor.fibaro_system_fgbs222_smart_implant_temperature_3 name: Garage show_name: true type: glance - cards: - entity: switch.fibaro_system_fgs222_double_relay_switch_2x1_5kw_switch_2 hold_action: action: more-info icon: 'mdi:arrow-up-bold-box-outline' name: Ouvrir les volets show_icon: true show_name: true tap_action: action: toggle type: button - entity: switch.fibaro_system_fgs222_double_relay_switch_2x1_5kw_switch hold_action: action: more-info icon: 'mdi:arrow-down-bold-box' name: Fermer les volets show_icon: true show_name: true tap_action: action: toggle type: button type: horizontal-stack type: vertical-stack
It gives me the nice panel below :
But now, I would like to change the text below the top right button. It switches on and off the light in my garage, but the translation in french is not relevant. It states “Inactif” for Off and “On” for On. I would like to change the text displayed to “Eteint” while off and “Allumé” while on.
I tried to use a binary sensor instead, but then I can’t click on the icon to toggle the light. So I need to keep the switch instance, but I can’t find a way to customize it so that it says Eteint or Allumé.Is is possible to change this state text ?
Thanks
Posts: 2
Participants: 2