Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Home Assistant Helpers You're Not Using?

· 5 min read · Home Automation

In this article
  1. What Are Home Assistant Helpers?
  2. Why You Should Use More Helpers
  3. Overlooked Helpers and Their Best Uses
  4. How to Create and Use a Helper
  5. Common Problems and How to Avoid Them
  6. Comparing Helpers to Alternatives
  7. Cost and Performance Considerations
  8. Safety and Best Practices
  9. Frequently Asked Questions

Yes, you're probably not using several Home Assistant helpers that can simplify your automations and dashboards. Helpers are built-in tools that store data, perform calculations, or provide UI controls without writing complex YAML. This article covers the most overlooked helpers, how they work, and practical ways to use them.

What Are Home Assistant Helpers?

Helpers (formerly known as "input components") are entities that you create through the Home Assistant UI under Settings → Devices & Services → Helpers. They exist to store values, toggle states, or perform simple logic that you can reference in automations, scripts, and dashboards. Unlike sensors that read external data, helpers are user-defined and persist across restarts.

Common helpers include toggles, numbers, dropdowns, text fields, counters, and date/time objects. Many users only use a few, but the full set offers powerful ways to make your setup more interactive and maintainable.

Why You Should Use More Helpers

Helpers reduce duplication and make automations easier to read and modify. Instead of hardcoding a value like a temperature threshold in multiple automations, you can create a Number helper and reference it everywhere. Change it once, and every automation updates.

They also enable manual overrides. For example, a Boolean helper named "Vacation Mode" can pause or alter automations when you're away. Without a helper, you'd have to edit YAML or rely on presence detection alone, which might not cover all cases.

Overlooked Helpers and Their Best Uses

  • Counter – Track how many times something happens, like the number of times a door opens in a day. You can increment/decrement it in automations and reset it at midnight.
  • Date/Time – Store a specific date or time for scheduling. For instance, a Date helper for "Last Trash Day" helps you calculate when to remind you to take out the bins.
  • Text – Store a string like a WiFi password or a note. You can display it on a dashboard or use it in notifications.
  • Dropdown – Present a list of options (e.g., "Home", "Away", "Vacation") and use the selection to control multiple automations.
  • Input Select – Similar to dropdown but often used for mode selection, like "Movie Mode" or "Night Mode".
  • Input Number – Set a numeric value with min/max and step. Great for temperature setpoints or fan speeds.
  • Input Boolean – A simple on/off switch that can represent a state like "Guest Present" or "Manual Override".
  • Input Datetime – Combines date and time in one helper, useful for reminders or scheduling events.

How to Create and Use a Helper

  1. Go to Settings → Devices & Services → Helpers.
  2. Click Add Helper and choose the type.
  3. Configure the options (name, icon, min/max, etc.) and click Create.
  4. The helper appears as an entity (e.g., input_number.temperature_setpoint).
  5. Use it in automations with action: input_number.set_value or reference it in conditions like condition: numeric_state.

For example, to create a counter for the number of times the front door opens:

  • Add a Counter helper named "Front Door Opens".
  • In an automation, trigger on the door sensor opening.
  • Add an action: counter.increment with the entity ID.
  • To reset daily, use a time pattern automation at midnight that calls counter.reset.

Common Problems and How to Avoid Them

One frequent mistake is forgetting that helpers are not automatically saved in automations if you edit YAML directly. Always use the UI or ensure you include the helper's entity ID correctly.

Another issue is using a helper in a condition but not updating it elsewhere, leading to stale values. For example, if you have a "Home/Away" dropdown, make sure automations update it when presence changes, or you might get conflicting states.

Also, some helpers like Input Datetime store both date and time; if you only need one, consider using separate Date and Time helpers to avoid confusion.

Comparing Helpers to Alternatives

Helpers are often compared to template sensors or variables in automations. Template sensors can compute values on the fly, but they don't store user input. Variables in automations are temporary and reset when the automation finishes.

Helpers are persistent and can be modified from the UI, making them ideal for user-facing controls. For complex logic, you might combine helpers with templates, but for simple state storage, helpers are simpler and more reliable.

Cost and Performance Considerations

Helpers are free and built into Home Assistant. They consume minimal resources, but having hundreds of them can clutter your entity registry. Use descriptive names and organize them with prefixes (e.g., input_boolean.vacation_mode) to keep things manageable.

Performance-wise, helpers are fast; they don't poll anything. However, if you use many helpers in automations, ensure your automation triggers are efficient to avoid unnecessary evaluations.

Safety and Best Practices

When using helpers for automation overrides, always consider safety. For example, if you have a "Manual Override" boolean that disables a heater, make sure you have a failsafe to re-enable it automatically after a set time, so you don't forget.

Also, be careful with counters that might overflow or reset unexpectedly. Use the counter.set_value action to set a specific value if needed.

Finally, backup your configuration regularly. Helpers are stored in .storage; a backup ensures you don't lose them during upgrades.

Frequently Asked Questions

Can I use helpers in scripts?

Yes, you can call helper services in scripts, such as input_boolean.turn_on or counter.increment.

Do helpers survive a restart?

Yes, helper values are stored in the configuration and persist across restarts.

Can I create a helper from YAML?

Yes, you can define helpers in configuration.yaml under the input_boolean:, input_number:, etc. sections, but the UI is easier for most users.

How do I reset a counter automatically?

Use an automation with a time trigger (e.g., at midnight) that calls counter.reset for the specific counter.

What's the difference between Input Select and Dropdown?

They are the same; "Input Select" is the official name, and "Dropdown" is the UI label in some versions.

Can I use helpers in dashboards?

Absolutely. You can add helper entities as cards, and they are editable directly from the dashboard if you have the right permissions.