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

homeassistant

12146 readers
53 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 2 years ago
MODERATORS
 

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
[–] spaghettiwestern 4 points 1 year ago* (last edited 1 year ago) (5 children)

Something's wrong with your configuration. What hardware, OS and HA config are you running?

My HA install does not lose anything when restarted. All my wifi, Z-wave & Zigbee devices, various entities and thermostat come back in the same state as prior to restart. I've run HA Supervised on two HW platforms and 3 distros and they've all functioned this way.

[–] [email protected] 1 points 1 year ago (4 children)

I'm using HA OS on Proxmox. About the configuration, what do you need to know? Do you wanna see it all? All the sensors and switches slowly goes back to "normal" as soon as they publish their state.

[–] spaghettiwestern 1 points 1 year ago (1 children)

HA OS on its own doesn't behave that way, so that leaves Proxmox or perhaps your specific hardware. Can't help you though. Haven't tried HA in any kind of virtual environment.

[–] [email protected] 1 points 1 year ago (1 children)

Indon't think that the problem can come from Proxmox/HW since it happens everytime I restart the services, not the VM. So strange...

[–] spaghettiwestern 1 points 1 year ago* (last edited 1 year ago) (1 children)

Perhaps so, but I've run HA on a Raspberry Pi under Raspberry OS, HA OS on that Pi, and HA Supervisor on a PC using Debian and am currently running it on a PC under Linux Mint. All of these worked with little or no delay between HA start and device status updates.

[–] [email protected] 1 points 1 year ago

Since the updates comes from the devices and ate not requested from HA, some exposes their statuses in less than a minute, some (like temperature sensors that are battery powered) sends their statuses very less frequently (if the temperature doesn't change, they communicate every 30/40 minutes.

load more comments (2 replies)
load more comments (2 replies)