Ca fonction, tu m’as mis sur la voie
J’ai ajouté entity: sensor.malicio_expected_number_of_shower
type: custom:button-card
entity: sensor.malicio_expected_number_of_shower
aspect_ratio: 1.2/1
color_type: card
show_label: true
show_name: true
icon: mdi:circle-slice-5
name: 70%
tap_action:
action: call-service
service: automation.trigger
service_data:
entity_id: automation.2douches
state:
- color: rgb(0,128,0)
value: 2
Et là c’est top, merci encore
la suite, regroupée ici