System Health details
System Information
| version |
core-2024.6.4 |
| installation_type |
Home Assistant Container |
| dev |
false |
| hassio |
false |
| docker |
true |
| user |
root |
| virtualenv |
false |
| python_version |
3.12.2 |
| os_name |
Linux |
| os_version |
4.4.302+ |
| arch |
x86_64 |
| timezone |
Europe/Rome |
| config_dir |
/config |
Home Assistant Community Store
| GitHub API |
ok |
| GitHub Content |
ok |
| GitHub Web |
ok |
| GitHub API Calls Remaining |
4989 |
| Installed Version |
1.34.0 |
| Stage |
running |
| Available Repositories |
1390 |
| Downloaded Repositories |
22 |
Home Assistant Cloud
| logged_in |
false |
| can_reach_cert_server |
ok |
| can_reach_cloud_auth |
ok |
| can_reach_cloud |
ok |
Dashboards
| dashboards |
2 |
| resources |
12 |
| views |
14 |
| mode |
storage |
Recorder
| oldest_recorder_run |
19 giugno 2024 alle ore 19:53 |
| current_recorder_run |
28 giugno 2024 alle ore 19:17 |
| estimated_db_size |
972.75 MiB |
| database_engine |
sqlite |
| database_version |
3.44.2 |
Spotify
| api_endpoint_reachable |
ok |
Checklist
Describe the issue
Some device are not always connected and shows some entities as unavailable:

Should be “restore” entity so to avoid this issue.
Reproduction steps
- install Motion Shelly or any other sleeping device
- configure battery notes
- check all is fine
- wait for device to go sleeping
- recheck entities
Debug logs
No response
Diagnostics dump
No response
Hi Andrew, thx so much for your help.
I hope to come back to you with more details about the issue in the next days, if still reproducible.
Version 2.10.8 just released has this extra logging in it, without these types of sensors to test it’s hard to work out what’s going on but hopefully the logging may glean something.
Hi, this is a different issue, try removing the battery note, then the Shelly H&T from the Shelly integration, re-add the Shelly, then add the battery note.
I’ve seen it twice before, I think there was an issue some time ago with the Shelly integration where the battery entity wasn’t created quite right.
I’ll have a look at the code and see what I can add but I don’t think it does too much from memory. If it receives a numeric value from the listener it will set it.