Bonjour, je cherche à afficher la valeur current_temperature d’un thermostat dans un button custom card.
Soit à la place du mot « chauffage » ici :
Je ne m’en sors pas, merci pour votre aide.
- type: custom:button-card
entity: climate.heatpump
show_icon: false
show_state: true
name: Température T.
state:
- operator: template
state_display:
value: >
[[[
return states {{ states["climate.heatpump"].attributes['current_temperature'] }}
]]]