Monthly smart home battery health audit

By General Input

On the first Monday of each month, get a calm Slack DM with every smart home device that needs new batteries, grouped by room, plus a running spreadsheet of what dies fastest.

Integrations

  • Home Assistant
  • Google Sheets
  • Slack

Type

Agentic Task

Categories

  • Operations
  • Personal Productivity

On the first Monday of every month at 8am in my local time zone, run a battery health audit of my smart home and give me one tidy heads up instead of seven duplicate alerts. Use a monthly cron trigger.

Step 1. Use Home Assistant's List States to pull the current state of every entity. Filter down to the ones that are actually battery powered. That means anything with a numeric battery_level attribute, or any sensor whose device_class is "battery". This should catch door and window sensors, motion sensors, leak sensors, thermostats, locks, remotes, and similar.

Step 2. For each matching entity, capture the device name, the room or area it belongs to, the current battery percentage, and if possible the battery type inferred from the entity name or attributes (for example CR2032, AA, AAA). Sort them into three tiers: critical for below 15 percent, low for 15 to 30 percent, and healthy for above 30 percent. Healthy is just for the running log, not for the message.

Step 3. For every device in the critical or low tier, append one row to a Google Sheet using Append Values. Each row should include the run date, the room, the device name, the entity id, the battery percentage, the tier (critical or low), and the inferred battery type if known. Ask me which spreadsheet and tab to use the first time the workflow runs. This sheet is the long running history of which devices die fastest and which batteries I keep buying.

Step 4. If there is at least one device in critical or low, send me a single Slack direct message using Send a Message. Write it as a calm, plain English summary grouped by room. Lead with the critical devices and then the low ones. For each device, include the device name, the battery percentage, and the battery type if you inferred one. End with a one line total, for example "3 critical, 5 low, 47 healthy this month". If nothing is below 30 percent, skip the Slack message entirely. Do not send an "all good" ping.

The point of this workflow is one tidy monthly heads up plus a long running spreadsheet of household battery consumption. Do not alert per device, do not alert when nothing is wrong, and do not duplicate rows in the sheet on the same run.

Related prompts

Explore more prompts
Call overdue Xero customers with an AI collections agentLocal listing health board for every location you manageWin back LiveChat visitors whose chats went unansweredLet support send one-off Loops emails without an engineerStop cold emails to anyone with a live deal in PipedriveiMessage campaign console with pre-flight checks and delivery boardChat quality review board for LiveChat support leadsLinkedIn Ads budget pacing dashboard for every client accountFront desk appointment confirmation board for the next 3 daysGive your team Looker numbers without buying more seats