Advanced - TheThinkingHome/device_sentinel GitHub Wiki

Most houses never touch these settings. Read this page if Home Assistant runs on an SD card, or if you want the dashboard to open in a different view.

Find them under Settings, Devices & services, Device Sentinel, Configure, Advanced.

Protect an SD Card

An SD card wears out from constant small writes. Two settings help:

  • "Storage Write Interval": raise it from 15 minutes to 30 or 60. A new problem or a recovery is still saved at once; only routine activity waits.
  • "How Much History to Keep": lower it to 30 days.

On a mini PC with an SSD, keep the defaults.

The Other Settings

  • "Dashboard: Simple or Advanced": which view the dashboard opens in. Simple shows what is broken and what to do; Advanced adds trends, charts and setup.
  • "Repeat Offender Threshold": how many unexplained failures in a week put a device under Repeat Offenders in the Daily Brief (2 by default).
  • "How Much History to Keep": how far back each device's daily record goes, from 30 to 360 days (180 by default). Lowering it takes effect at midnight, so you can undo a mistake.
  • "Maintenance Window in Minutes": how long Maintenance Mode lasts once pressed (10 by default).
  • "Integrations That Report Cached Values": which integrations show old values after a restart. After a Restart explains it.

Start a Device Over

"Trim Integration History" and "Trim Device History", at the foot of the screen, erase what Device Sentinel learned about what you pick, when you save. Use them only if support asks, or if a device's record has gone wrong. The device starts learning again, about a week before it can be called frozen. Its mutes, exclusions and the answers you set are kept, and Device Sentinel backs up its data first.