Battery powered zwave t-stats.. how do they work with HA?

If I have a battery power T-stat that sleeps until temp/humidty changes or a timer expires, how does home assistant manage a temp setting change during sleep?
Does HA wait until the next time the device phones home? Or does the new set point just go into the bit bucket?

Thanks!

Commands sent to battery devices are queued by the Z-Wave driver and sent to the device when it wakes up.

Thanks! Any time limit, or is it perpetual?

Not aware of any time limit. If the driver restarts (e.g. your add-on, container, etc.), then the queue is lost.

Cool. Appreciate the response!

Although, many (most?) Z-Wave thermostats are FLiRS (frequently listening) devices, meaning they act like mains-powered and commands are received normally (no queuing).