Smart Systems for Home

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

Home Assistant Input Helpers: Select, Number & Text Explained

· 5 min read · Home Automation

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Input helpers in Home Assistant allow you to create persistent variables and user interfaces for automations that require manual configuration. They enable you to store values like target temperatures, selected modes, or text notes that persist across restarts and can be controlled via dashboards or voice assistants. To use them effectively, you need a running Home Assistant instance with access to the configuration interface.

What You'll Need

  • A fully installed and running Home Assistant instance (Core, OS, or Supervised).
  • Access to the Home Assistant web interface with administrator privileges.
  • Familiarity with basic YAML syntax if you prefer manual configuration over the UI.
  • A dashboard or Lovelace card configured to display these entities (optional but recommended).

Step-by-Step

  1. Navigate to the Configuration Menu: Log into your Home Assistant dashboard. Click on the user profile icon in the bottom left corner, then select "Settings" from the menu. In the left-hand sidebar of the Settings panel, click on "Devices & Services." This is the central hub for managing integrations and helpers.
  2. Access the Helpers Section: Within the "Devices & Services" page, look for the "Helpers" tab or section. If you do not see it immediately, ensure you are viewing the correct integration or scroll down to the "Helpers" area. Click on "Create Helper." This action opens a modal window listing all available helper types.
  3. Select the Helper Type: Choose the type of input you need. The most common options include:
    • Input Text: For storing short strings, such as a greeting message or a note.
    • Input Number: For numeric values, such as a target temperature, volume level, or timer duration.
    • Input Select: For choosing from a predefined list of options, such as a mode (e.g., "Away," "Home," "Sleep") or a light color preset.
    • Input Boolean: For simple on/off states, often used as flags for automations.
    • Input Datetime: For selecting specific dates and times.
    Note: Menu labels may vary slightly depending on your Home Assistant version.
  4. Configure Basic Properties: After selecting a type, you will be prompted to name the helper (e.g., "Bedroom Temperature") and provide an optional description. The name becomes the entity ID (e.g., input_number.bedroom_temperature). Ensure the name is unique and descriptive for easy reference in automations.
  5. Set Specific Parameters:
    • For Input Number: Define the minimum, maximum, and step values. For example, set min to 16, max to 30, and step to 0.5 for precise temperature control.
    • For Input Select: Enter the options as a comma-separated list or line-by-line entries. Example: "Off, Low, Medium, High." You can also set a default option.
    • For Input Text: Set a maximum character limit if desired, though this is often optional.
    These constraints prevent invalid inputs from breaking your automations.
  6. Save the Helper: Click "Create" or "Submit." The helper will now appear in your Devices & Services list under the "Helpers" category. It is automatically added to your entity registry and can be found in the States table by searching for its entity ID.
  7. Add to Dashboard: Go to your preferred dashboard. Click the "+" button to add a new card. Search for the helper type (e.g., "Input Number Card" or "Select Entity Card"). Select the helper you just created. Configure the card's appearance (e.g., show slider vs. buttons) and save. The helper is now interactive on your dashboard.
  8. Use in Automations: Open the Automation Editor. In the "Trigger" or "Condition" sections, search for your helper entity. For example, trigger an automation when input_select.mode changes to "Away." In the "Action" section, you can read the value of the helper to set other devices, such as setting a thermostat to the value stored in input_number.target_temp.

Common Mistakes

One frequent error is neglecting to set appropriate limits for Input Number helpers. Without a minimum or maximum, users might enter extreme values that could damage hardware or cause unexpected behavior, such as setting a heater to 100 degrees. Always define safe bounds.

Another mistake is using generic names like "Helper 1." This makes debugging difficult. Use clear, contextual names that indicate the helper's purpose, such as "Garage Door Timer Minutes." Additionally, some users forget that Input Select options are case-sensitive. "On" and "on" are treated as different values, which can break condition checks in automations.

Tips

Use Input Select for any scenario where the choice is finite and predefined. It provides a clean dropdown or button interface on dashboards, reducing user error compared to free-text inputs. For complex logic, combine multiple helpers. For example, use one Input Boolean to enable a "Vacation Mode" and another Input Number to set the reduced heating temperature during that mode.

Remember that helpers persist data. If you change a helper's configuration (like adding a new option to a select list), existing automations relying on old options may fail if those options are deleted. Test automations after modifying helper configurations. Also, consider using the "Entity Registry" to rename helpers for better readability in dashboards without changing their underlying functionality.

Troubleshooting

If a helper does not appear on your dashboard, check the entity ID in the States table. Ensure the card is configured to display that specific entity ID. Sometimes, caching issues prevent updates; try refreshing the browser or clearing the Home Assistant frontend cache via Developer Tools > Info > Clear Cache.

If an automation fails to trigger based on a helper's state, verify the exact string or number format. Check the State tab for the helper to see its current value. Discrepancies between the expected value in the automation and the actual stored value are common causes of failure. Restarting the Home Assistant service can resolve temporary glitches with entity registration, but avoid restarting frequently as it disrupts active automations.

Frequently Asked Questions

Do input helpers survive a restart?

Yes. All input helpers are stored in the Home Assistant database and persist across reboots, preserving their last known state.

Can I control input helpers with voice assistants?

Yes, if you have integrated Google Assistant or Alexa. You can ask questions like "What is the bedroom temperature set to?" or commands like "Set garage door timer to 10 minutes." Note that phrasing depends on how the helper is exposed to the voice platform.

What is the difference between Input Select and Input Text?

Input Select restricts input to a predefined list of options, ensuring consistency. Input Text allows free-form entry, useful for messages or notes where flexibility is needed.

Can I delete an input helper?

You can remove it via Devices & Services > Helpers. However, any automations or scripts referencing the helper will break. Remove references in automations before deleting the helper.

How do I backup input helper values?

Helper values are included in standard Home Assistant backups. When you restore a backup, the helpers and their states are restored to the point of the backup.