On my mobile dashboard home page, I created a temp card for my Google Nest using a combination of button cards. It looks like this:
I wanted just a small card where I can quickly increase/decrease my home’s temp.
It works, but there’s a 3-4 second delay from when you press the + or - symbol to when it actually increases/decreases the target temp. So someone (my wife) will impatiently mash it and then get an api error for too many commands.
Below is my tap action code. Is there a better method for a quicker response? I ask because the native thermostat card in HA has an instant response but not sure if/how to replicate the underlying code here: frontend/src/panels/lovelace/cards/hui-thermostat-card.ts at f08877437e1a056c561d2dd15f78fd63efd988ff · home-assistant/frontend · GitHub
tap_action:
action: call-service
service: climate.set_temperature
service_data:
entity_id: climate.google_nest
temperature: "[[[ return entity.attributes.temperature - 1 ]]]"