this post was submitted on 14 Nov 2023
20 points (100.0% liked)

homeassistant

11874 readers
1 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
20
submitted 10 months ago* (last edited 10 months ago) by peregus to c/homeassistant
 

I'm pretty new to HA. I've set it up and I keep editing the confirmation and everytime I restart to apply the changes, all the switches, sensors and even the thermostat lose their values. The most annoying is the thermostat (classic thermostat entity) because I have to turn it on selecting heat/cool and set the temperature. Is there a way to keep all these values across restarts?

Edit: I'm using HA OS on Proxmox. All the sensors and switches slowly goes back to "normal" as soon as they publish their state, apart from some entities that have values provided by HA itself and not by the devices (like the thermostat).

you are viewing a single comment's thread
view the rest of the comments
[โ€“] thisNotMyName 1 points 10 months ago (1 children)

During restart all entities are in state unavailable. When the integrations are loaded all the entities with their current states become available again, but that's something of seconds. The internal entities, like Helpers, are immediately available - that's the closest to "value from HA itself" I have in my setup

[โ€“] peregus 1 points 10 months ago

The internal entities, like Helpers, are immediately available

This is my problem:in my main HA instancd the internal entities are in state "unknown" when I reload the configuration. In another instance of HA everything works fine and the thermostat goes back to their previous state when I reload the configuration, in the "main" instance they don't :(