merci pulpy toujours avec tes informations précieuses je me suis servi de ton code exemple :
type: grid
cards:
- type: button
tap_action:
action: call-service
service: rest_command.portail
icon: mdi:gate-arrow-right
name: Ouverture Portail
- type: button
tap_action:
action: call-service
service: automation.trigger
service_data: {}
target:
entity_id: automation.portail_blocage
icon: mdi:gate
name: Blocage portail
columns: 2
si cela peut servir à d’autres …