Home Assistant Integrations: Common Problems & Fixes
In this article
- Background: What Home Assistant Integrations Are
- How Integrations Work Under the Hood
- Common Integration Problems and Their Causes
- How to Diagnose and Fix Integration Issues
- Comparing Built-in vs. HACS Integrations
- Costs and Safety Considerations
- Alternatives to Troubleshooting Manually
- Frequently Asked Questions
Yes, Home Assistant integrations frequently run into problems, but most are solvable with systematic troubleshooting. The most common issues stem from API changes, network configuration, and device compatibility, not from Home Assistant itself.
Background: What Home Assistant Integrations Are
Home Assistant is an open-source home automation platform that connects to smart devices—lights, sensors, cameras, thermostats—through integrations. An integration is a piece of software that translates between Home Assistant's core and a specific device or cloud service. There are thousands of built-in integrations, plus hundreds more available through the community (HACS). Because the ecosystem is vast and constantly evolving, integration problems are inevitable.
How Integrations Work Under the Hood
Each integration uses one of several connection methods:
- Local API – talks directly to the device on your network (e.g., TP-Link Kasa, Shelly).
- Cloud API – relies on the manufacturer's servers (e.g., Nest, Ring).
- MQTT – a lightweight messaging protocol often used with DIY devices.
- Zigbee/Z-Wave – uses a USB stick or hub to communicate via radio.
When you add an integration, Home Assistant sends a discovery request, then attempts to authenticate and fetch device data. If any step fails—wrong IP, blocked port, expired token—the integration shows an error in the UI.
Common Integration Problems and Their Causes
Here are the typical failures you'll encounter, along with what usually causes them:
- Integration not discovered – The device isn't on the same subnet, or the device's discovery protocol (like UPnP) is disabled.
- Authentication failure – API key or token is wrong, expired, or the device only allows one active session.
- “Unavailable” entities – The device is offline, Wi-Fi interference, or the integration's polling interval is too aggressive.
- Entities not updating – The device's local API is slow, or the integration relies on a cloud webhook that's blocked.
- Integration breaks after a Home Assistant update – The core changed a dependency or the integration isn't maintained.
- Duplicate entities – The device is exposed via both a native integration and a hub like SmartThings, causing conflicts.
How to Diagnose and Fix Integration Issues
Start with the most direct approach:
- Check the device – Is it powered on and reachable? Ping its IP address from your computer.
- Restart the integration – Go to Settings → Devices & Services, click the integration, and choose “Reload.”
- Review the logs – In Home Assistant, go to Settings → System → Logs. Look for red error entries mentioning your integration.
- Verify credentials – Re-enter the API key or token. For cloud integrations, log out and log back in.
- Check network settings – Ensure the device and Home Assistant are on the same VLAN or that firewall rules allow traffic.
- Update the integration – If it's from HACS, check for updates. For built-in ones, update Home Assistant itself.
- Search the forums – The Home Assistant Community and GitHub issues often have solutions for known bugs.
If the integration still fails, consider removing it and adding it again. That often resets a broken state.
Comparing Built-in vs. HACS Integrations
Built-in integrations are maintained by the Home Assistant team and are generally stable. They receive fixes with each release. HACS (Home Assistant Community Store) integrations are created by volunteers. They offer features that built-ins lack, but they can break more often because they depend on unofficial APIs or reverse-engineered protocols. For critical systems (like locks or alarms), prefer built-in or well-established HACS integrations with active maintenance.
Costs and Safety Considerations
Home Assistant itself is free, but integrations may involve costs: some devices require a monthly cloud subscription (e.g., Nest), and some integrations are paid via HACS. Always read the integration's documentation for privacy implications—cloud-based integrations send data to third-party servers. For local integrations, make sure your network is secured (strong Wi-Fi password, separate IoT VLAN) to prevent unauthorized access.
Alternatives to Troubleshooting Manually
If you're tired of fixing integrations, consider these alternatives:
- Use a hub-based approach – Connect devices through a hub like Hubitat or SmartThings, then integrate that hub with Home Assistant. This reduces the number of direct integrations.
- Switch to MQTT – For DIY devices, MQTT is more reliable than proprietary APIs.
- Try a different platform – Some users find OpenHAB or Domoticz more stable for their specific devices, though they have a steeper learning curve.
Frequently Asked Questions
Why does my integration keep showing “Unavailable”?
This usually means the device is offline or the integration can't reach it. Check the device's power and network connection. Also, some devices go into a sleep mode to save energy; wake them up or adjust their power settings.
How do I update a HACS integration?
Go to HACS → Integrations, find the integration, and click “Update” if available. If the update fails, you may need to manually re-download it from the repository and restart Home Assistant.
Can I use an integration that's no longer maintained?
Yes, but it may break with future Home Assistant updates. You can pin your Home Assistant version, but that's not recommended for security. Better to find an alternative or fork the repository.
Why does my integration work on the mobile app but not in Home Assistant?
The mobile app may use a different API or a cloud relay. Home Assistant often requires local network access. Ensure the device's local API is enabled and that your Home Assistant instance can reach it (check firewall and VLAN settings).
How do I report a bug in an integration?
For built-in integrations, go to the Home Assistant GitHub repository and open an issue with logs. For HACS integrations, open an issue on the integration's GitHub page. Include your Home Assistant version, the integration version, and relevant log snippets.