Problem with component climate in esphome

I use the climate component, but when the connection with the home assistant is lost, the thermostat does not turn off and overheats.
Is it possible to operate the thermostat without connecting to a home assistant?