-
Notifications
You must be signed in to change notification settings - Fork 944
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit System not retained across restarts #3442
Comments
👋 @ZhuDaHai, thanks for reporting an issue! It looks like this issue is related to Home Assistant Core. Please check the Home Assistant Core repository, the issue might have been reported already. Open a new issue in that repository if you can't find a matching issue. |
There are old/closed issues from 2022 referencing a patch to the core that corrected this issue, but I'm on Core 2024.6.4 and still appears to be an issue. |
Describe the issue you are experiencing
The System->General setting page defaults to Fahrenheit for my location.
I prefer Celsius and so change it to that:
When I click on Update the cards in the overview page update to Celsius as expected.
When I restart/reboot HA, it reverts back to Fahrenheit.
I tried adding this to configuration.yaml:
Still reverted back to Fahrenheit after a reboot/restart of HA.
All the temperature sensors are set to Celsius - example:
And I even tried setting my Country to 'Canada', which uses Metric as the default.
Still reverts back to Fahrenheit after a reboot/restart
What operating system image do you use?
rpi4-64 (Raspberry Pi 4 64-bit OS)
What version of Home Assistant Operating System is installed?
12.4
Did the problem occur after upgrading the Operating System?
Yes
Hardware details
Raspberry Pi 4 4GB Ram. Native HAOS install.
Core 2024.6.4
Supervisor 2024.06.0
Operating System 12.4
Frontend 20240610.1
Steps to reproduce the issue
...
Anything in the Supervisor logs that might be useful for us?
Anything in the Host logs that might be useful for us?
2024-06-23 22:35:03.134 homeassistant kernel: audit: type=1334 audit(1719182103.129:1850): prog-id=436 op=LOAD 2024-06-23 22:35:03.157 homeassistant systemd[1]: Starting Time & Date Service... 2024-06-23 22:35:03.420 homeassistant systemd[1]: Started Time & Date Service. 2024-06-23 22:35:33.160 homeassistant systemd[1]: systemd-hostnamed.service: Deactivated successfully. 2024-06-23 22:35:33.278 homeassistant kernel: audit: type=1334 audit(1719182133.273:1851): prog-id=433 op=UNLOAD 2024-06-23 22:35:33.279 homeassistant kernel: audit: type=1334 audit(1719182133.273:1852): prog-id=432 op=UNLOAD 2024-06-23 22:35:33.279 homeassistant kernel: audit: type=1334 audit(1719182133.273:1853): prog-id=431 op=UNLOAD 2024-06-23 22:35:33.464 homeassistant systemd[1]: systemd-timedated.service: Deactivated successfully. 2024-06-23 22:35:33.494 homeassistant kernel: audit: type=1334 audit(1719182133.489:1854): prog-id=436 op=UNLOAD 2024-06-23 22:35:33.495 homeassistant kernel: audit: type=1334 audit(1719182133.489:1855): prog-id=435 op=UNLOAD 2024-06-23 22:35:33.495 homeassistant kernel: audit: type=1334 audit(1719182133.489:1856): prog-id=434 op=UNLOAD 2024-06-23 22:39:25.435 homeassistant NetworkManager[489]: <info> [1719182365.4352] dhcp6 (end0): state changed new lease, address=2605:a601:ac22:8e00::2a7 2024-06-23 22:39:25.480 homeassistant systemd[1]: Starting Network Manager Script Dispatcher Service... 2024-06-23 22:39:25.502 homeassistant systemd[1]: Started Network Manager Script Dispatcher Service. 2024-06-23 22:39:35.526 homeassistant systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully. 2024-06-23 22:43:06.843 homeassistant systemd[1]: run-docker-runtime\x2drunc-moby-d5fbabe1ab3813b3b3c2458e88a67c7ef4f8e510e5694e7ea154fe424eb012a9-runc.6N1q7C.mount: Deactivated successfully. 2024-06-23 23:10:45.601 homeassistant systemd[1]: run-docker-runtime\x2drunc-moby-d5fbabe1ab3813b3b3c2458e88a67c7ef4f8e510e5694e7ea154fe424eb012a9-runc.aJpCv9.mount: Deactivated successfully. 2024-06-23 23:28:51.382 homeassistant systemd[1]: run-docker-runtime\x2drunc-moby-d5fbabe1ab3813b3b3c2458e88a67c7ef4f8e510e5694e7ea154fe424eb012a9-runc.Jpph9L.mount: Deactivated successfully. 2024-06-23 23:34:23.146 homeassistant systemd[1]: run-docker-runtime\x2drunc-moby-d5fbabe1ab3813b3b3c2458e88a67c7ef4f8e510e5694e7ea154fe424eb012a9-runc.r9AwUq.mount: Deactivated successfully. 2024-06-24 00:31:45.800 homeassistant NetworkManager[489]: <info> [1719189105.7992] dhcp4 (end0): state changed new lease, address=192.168.2.246 2024-06-24 00:31:45.845 homeassistant systemd[1]: Starting Network Manager Script Dispatcher Service... 2024-06-24 00:31:45.866 homeassistant systemd[1]: Started Network Manager Script Dispatcher Service. 2024-06-24 00:31:45.890 homeassistant systemd[1]: Stopping Network Time Synchronization... 2024-06-24 00:31:45.893 homeassistant systemd[1]: systemd-timesyncd.service: Deactivated successfully. 2024-06-24 00:31:45.893 homeassistant systemd[1]: Stopped Network Time Synchronization. 2024-06-24 00:31:45.906 homeassistant kernel: audit: type=1334 audit(1719189105.902:1857): prog-id=437 op=LOAD 2024-06-24 00:31:45.928 homeassistant systemd[1]: Starting Network Time Synchronization... 2024-06-24 00:31:45.931 homeassistant kernel: audit: type=1334 audit(1719189105.926:1858): prog-id=424 op=UNLOAD 2024-06-24 00:31:46.191 homeassistant systemd[1]: Started Network Time Synchronization. 2024-06-24 00:31:46.215 homeassistant systemd-timesyncd[122935]: Contacted time server 216.239.35.0:123 (216.239.35.0). 2024-06-24 00:31:46.216 homeassistant systemd-timesyncd[122935]: Initial clock synchronization to Mon 2024-06-24 00:31:46.215797 UTC. 2024-06-24 00:31:56.205 homeassistant systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully. 2024-06-24 00:41:43.754 homeassistant kernel: audit: type=1334 audit(1719189703.748:1859): prog-id=438 op=LOAD 2024-06-24 00:41:43.755 homeassistant kernel: audit: type=1334 audit(1719189703.748:1860): prog-id=439 op=LOAD 2024-06-24 00:41:43.755 homeassistant kernel: audit: type=1334 audit(1719189703.748:1861): prog-id=440 op=LOAD 2024-06-24 00:41:43.769 homeassistant systemd[1]: Starting Hostname Service... 2024-06-24 00:41:44.065 homeassistant systemd[1]: Started Hostname Service. 2024-06-24 00:41:44.082 homeassistant kernel: audit: type=1334 audit(1719189704.076:1862): prog-id=441 op=LOAD 2024-06-24 00:41:44.083 homeassistant kernel: audit: type=1334 audit(1719189704.076:1863): prog-id=442 op=LOAD 2024-06-24 00:41:44.083 homeassistant kernel: audit: type=1334 audit(1719189704.076:1864): prog-id=443 op=LOAD 2024-06-24 00:41:44.101 homeassistant systemd[1]: Starting Time & Date Service... 2024-06-24 00:41:44.367 homeassistant systemd[1]: Started Time & Date Service. 2024-06-24 00:42:14.105 homeassistant systemd[1]: systemd-hostnamed.service: Deactivated successfully. 2024-06-24 00:42:14.214 homeassistant kernel: audit: type=1334 audit(1719189734.207:1865): prog-id=440 op=UNLOAD 2024-06-24 00:42:14.215 homeassistant kernel: audit: type=1334 audit(1719189734.207:1866): prog-id=439 op=UNLOAD 2024-06-24 00:42:14.215 homeassistant kernel: audit: type=1334 audit(1719189734.207:1867): prog-id=438 op=UNLOAD 2024-06-24 00:42:14.412 homeassistant systemd[1]: systemd-timedated.service: Deactivated successfully. 2024-06-24 00:42:14.459 homeassistant kernel: audit: type=1334 audit(1719189734.451:1868): prog-id=443 op=UNLOAD 2024-06-24 00:42:14.459 homeassistant kernel: audit: type=1334 audit(1719189734.451:1869): prog-id=442 op=UNLOAD 2024-06-24 00:42:14.459 homeassistant kernel: audit: type=1334 audit(1719189734.451:1870): prog-id=441 op=UNLOAD 2024-06-24 00:52:00.230 homeassistant systemd[1]: Starting Discard unused blocks on filesystems from /etc/fstab... 2024-06-24 00:52:04.298 homeassistant fstrim[123713]: /tmp: 14.9 MiB (15642624 bytes) trimmed on /dev/zram2 2024-06-24 00:52:04.298 homeassistant fstrim[123713]: /mnt/data: 53 GiB (56945127424 bytes) trimmed on /dev/mmcblk0p8 2024-06-24 00:52:04.298 homeassistant fstrim[123713]: /mnt/overlay: 80.5 MiB (84401152 bytes) trimmed on /dev/mmcblk0p7 2024-06-24 00:52:04.298 homeassistant fstrim[123713]: /mnt/boot: 24.2 MiB (25358336 bytes) trimmed on /dev/mmcblk0p1 2024-06-24 00:52:04.302 homeassistant systemd[1]: fstrim.service: Deactivated successfully. 2024-06-24 00:52:04.303 homeassistant systemd[1]: Finished Discard unused blocks on filesystems from /etc/fstab. 2024-06-24 01:08:22.915 homeassistant systemd[1]: run-docker-runtime\x2drunc-moby-d5fbabe1ab3813b3b3c2458e88a67c7ef4f8e510e5694e7ea154fe424eb012a9-runc.nV856L.mount: Deactivated successfully. 2024-06-24 01:21:27.052 homeassistant systemd[1]: run-docker-runtime\x2drunc-moby-d5fbabe1ab3813b3b3c2458e88a67c7ef4f8e510e5694e7ea154fe424eb012a9-runc.FPax2X.mount: Deactivated successfully. 2024-06-24 01:24:58.170 homeassistant systemd[1]: run-docker-runtime\x2drunc-moby-d5fbabe1ab3813b3b3c2458e88a67c7ef4f8e510e5694e7ea154fe424eb012a9-runc.Rlzbr4.mount: Deactivated successfully. 2024-06-24 01:32:00.444 homeassistant systemd[1]: run-docker-runtime\x2drunc-moby-d5fbabe1ab3813b3b3c2458e88a67c7ef4f8e510e5694e7ea154fe424eb012a9-runc.Bj5EHo.mount: Deactivated successfully. 2024-06-24 01:33:13.046 homeassistant kernel: audit: type=1334 audit(1719192793.039:1871): prog-id=444 op=LOAD 2024-06-24 01:33:13.077 homeassistant systemd[1]: Starting Remove Bluetooth cache entries older than one week... 2024-06-24 01:33:13.290 homeassistant systemd[1]: haos-bt-cache.service: Deactivated successfully. 2024-06-24 01:33:13.291 homeassistant systemd[1]: Finished Remove Bluetooth cache entries older than one week. 2024-06-24 01:33:13.394 homeassistant kernel: audit: type=1334 audit(1719192793.387:1872): prog-id=444 op=UNLOAD 2024-06-24 01:37:32.253 homeassistant systemd[1]: run-docker-runtime\x2drunc-moby-d5fbabe1ab3813b3b3c2458e88a67c7ef4f8e510e5694e7ea154fe424eb012a9-runc.ptOsIt.mount: Deactivated successfully. 2024-06-24 01:48:59.749 homeassistant systemd[1]: docker-a161a0067f32a473c1b6c36057390f4e5afae0bf9a69406aa4f6bd068ef3d9b2.scope: Deactivated successfully. 2024-06-24 01:48:59.750 homeassistant systemd[1]: docker-a161a0067f32a473c1b6c36057390f4e5afae0bf9a69406aa4f6bd068ef3d9b2.scope: Consumed 54min 10.284s CPU time. 2024-06-24 01:48:59.778 homeassistant kernel: audit: type=1334 audit(1719193739.770:1873): prog-id=346 op=UNLOAD 2024-06-24 01:48:59.784 homeassistant dockerd[584]: time="2024-06-24T01:48:59.784442891Z" level=info msg="ignoring event" container=a161a0067f32a473c1b6c36057390f4e5afae0bf9a69406aa4f6bd068ef3d9b2 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete" 2024-06-24 01:49:00.072 homeassistant systemd[1]: Started libcontainer container a161a0067f32a473c1b6c36057390f4e5afae0bf9a69406aa4f6bd068ef3d9b2. 2024-06-24 01:49:00.103 homeassistant kernel: audit: type=1334 audit(1719193740.094:1874): prog-id=445 op=LOAD 2024-06-24 01:49:00.103 homeassistant kernel: audit: type=1300 audit(1719193740.094:1874): arch=c00000b7 syscall=280 success=yes exit=15 a0=5 a1=400011d840 a2=78 a3=0 items=0 ppid=126315 pid=126324 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="runc" exe="/usr/bin/runc" subj=unconfined key=(null) 2024-06-24 01:49:00.103 homeassistant kernel: audit: type=1327 audit(1719193740.094:1874): proctitle=72756E63002D2D726F6F74002F7661722F72756E2F646F636B65722F72756E74696D652D72756E632F6D6F6279002D2D6C6F67002F72756E2F636F6E7461696E6572642F696F2E636F6E7461696E6572642E72756E74696D652E76322E7461736B2F6D6F62792F61313631613030363766333261343733633162366333363035 2024-06-24 01:49:00.103 homeassistant kernel: audit: type=1334 audit(1719193740.094:1875): prog-id=446 op=LOAD 2024-06-24 01:49:00.103 homeassistant kernel: audit: type=1300 audit(1719193740.094:1875): arch=c00000b7 syscall=280 success=yes exit=17 a0=5 a1=400011d5d0 a2=78 a3=0 items=0 ppid=126315 pid=126324 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="runc" exe="/usr/bin/runc" subj=unconfined key=(null) 2024-06-24 01:49:00.103 homeassistant kernel: audit: type=1327 audit(1719193740.094:1875): proctitle=72756E63002D2D726F6F74002F7661722F72756E2F646F636B65722F72756E74696D652D72756E632F6D6F6279002D2D6C6F67002F72756E2F636F6E7461696E6572642F696F2E636F6E7461696E6572642E72756E74696D652E76322E7461736B2F6D6F62792F61313631613030363766333261343733633162366333363035 2024-06-24 01:49:00.103 homeassistant kernel: audit: type=1334 audit(1719193740.098:1876): prog-id=446 op=UNLOAD 2024-06-24 01:49:00.103 homeassistant kernel: audit: type=1300 audit(1719193740.098:1876): arch=c00000b7 syscall=57 success=yes exit=0 a0=11 a1=0 a2=0 a3=0 items=0 ppid=126315 pid=126324 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="runc" exe="/usr/bin/runc" subj=unconfined key=(null) 2024-06-24 01:49:00.103 homeassistant kernel: audit: type=1327 audit(1719193740.098:1876): proctitle=72756E63002D2D726F6F74002F7661722F72756E2F646F636B65722F72756E74696D652D72756E632F6D6F6279002D2D6C6F67002F72756E2F636F6E7461696E6572642F696F2E636F6E7461696E6572642E72756E74696D652E76322E7461736B2F6D6F62792F61313631613030363766333261343733633162366333363035 2024-06-24 01:49:35.992 homeassistant systemd[1]: run-docker-runtime\x2drunc-moby-d5fbabe1ab3813b3b3c2458e88a67c7ef4f8e510e5694e7ea154fe424eb012a9-runc.wjz2DB.mount: Deactivated successfully. 2024-06-24 02:48:24.787 homeassistant kernel: kauditd_printk_skb: 6 callbacks suppressed 2024-06-24 02:48:24.787 homeassistant kernel: audit: type=1334 audit(1719197304.781:1879): prog-id=448 op=LOAD 2024-06-24 02:48:24.787 homeassistant kernel: audit: type=1334 audit(1719197304.785:1880): prog-id=449 op=LOAD 2024-06-24 02:48:24.787 homeassistant kernel: audit: type=1334 audit(1719197304.785:1881): prog-id=450 op=LOAD 2024-06-24 02:48:24.824 homeassistant systemd[1]: Starting Hostname Service... 2024-06-24 02:48:25.143 homeassistant systemd[1]: Started Hostname Service. 2024-06-24 02:48:25.159 homeassistant kernel: audit: type=1334 audit(1719197305.153:1882): prog-id=451 op=LOAD 2024-06-24 02:48:25.159 homeassistant kernel: audit: type=1334 audit(1719197305.153:1883): prog-id=452 op=LOAD 2024-06-24 02:48:25.159 homeassistant kernel: audit: type=1334 audit(1719197305.153:1884): prog-id=453 op=LOAD 2024-06-24 02:48:25.184 homeassistant systemd[1]: Starting Time & Date Service... 2024-06-24 02:48:25.447 homeassistant systemd[1]: Started Time & Date Service. 2024-06-24 02:48:55.179 homeassistant systemd[1]: systemd-hostnamed.service: Deactivated successfully. 2024-06-24 02:48:55.306 homeassistant kernel: audit: type=1334 audit(1719197335.300:1885): prog-id=450 op=UNLOAD 2024-06-24 02:48:55.307 homeassistant kernel: audit: type=1334 audit(1719197335.300:1886): prog-id=449 op=UNLOAD 2024-06-24 02:48:55.307 homeassistant kernel: audit: type=1334 audit(1719197335.300:1887): prog-id=448 op=UNLOAD 2024-06-24 02:48:55.491 homeassistant systemd[1]: systemd-timedated.service: Deactivated successfully. 2024-06-24 02:48:55.510 homeassistant kernel: audit: type=1334 audit(1719197335.504:1888): prog-id=453 op=UNLOAD 2024-06-24 02:48:55.510 homeassistant kernel: audit: type=1334 audit(1719197335.504:1889): prog-id=452 op=UNLOAD 2024-06-24 02:48:55.511 homeassistant kernel: audit: type=1334 audit(1719197335.504:1890): prog-id=451 op=UNLOAD
System information
System Information
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Additional information
I'm clueless as to why its doing this...
The text was updated successfully, but these errors were encountered: