Home Assistant Integration
TOMMY Zero zones integrate with Home Assistant as motion sensor entities, automatically syncing with your automations and dashboards.
Prerequisites
- A zone set up with its devices added
- Home Assistant 2026.11 or newer, which includes the Marketplace
Installation
The TOMMY integration installs from the Marketplace built into Home Assistant.
- In Home Assistant, go to Settings → Marketplace
- Click Add from link in the upper right
- Enter
tommy-sense/homeassistant-integrationand click Add. Connect GitHub if Home Assistant asks you to - Open TOMMY, click Install and confirm the version with Install
- If Home Assistant asks for a restart under Settings → System → Repairs, restart it
- Configure the TOMMY integration (see Configuration below)
Open the TOMMY repository in your Home Assistant to skip the first three steps.
Updating
New versions of the integration show up under Settings → Updates in Home Assistant. Install them there and restart Home Assistant. Under Network Configuration → Integrations, the TOMMY Zero dashboard shows whether the integration is connected and asks you to update it when it is older than TOMMY Zero needs.
Enabling the Integration
The Home Assistant integration is enabled per zone and is disabled by default:
- Open your TOMMY Zero dashboard
- Open the zone you want to expose to Home Assistant (from Zones in the sidebar, or the Zones page)
- Under Network Configuration, toggle the Home Assistant switch in Integrations. The switch only affects the selected zone, so repeat this for every zone you want to expose.
Only zones with the switch enabled show up in Home Assistant. Turning the switch off removes the zone's entity again.
Configuration
- Go to Settings → Devices & Services
- Click "Add Integration"
- Search for "TOMMY"
- Fill out the details when prompted:
- Enter the IP address of your Home Assistant instance (for App) or the Docker container running TOMMY Zero (for Docker)
- Enter the MQTT Port assigned in your TOMMY Zero configuration (App configuration) or environment variables (Docker installation) (default: 1886)
Like the dashboard, the MQTT broker is open to everyone on your local network by design and needs no username or password. Anyone who can reach the MQTT port can read the presence of zones with the integration enabled, so keep the port on your local network and don't forward it on your router. See Trusted local network.
Zones
Once a zone has the Home Assistant integration enabled, no further configuration is needed for it to show up. Home Assistant will automatically stay in sync with zones in the dashboard when adding, removing, or renaming zones. For each enabled zone, an entity is exposed in Home Assistant.
Troubleshooting
Integration Not Found:
- Check that TOMMY shows as installed under Settings → Marketplace
- Restart Home Assistant after installation, and check Settings → System → Repairs for a pending restart
- Check Home Assistant logs for installation errors
Connection Issues:
- Check the Home Assistant status under the zone's Home Assistant switch in the TOMMY Zero dashboard. "Integration not connected" means TOMMY Zero sees no integration
- Verify the IP address and MQTT port are correct
- Ensure TOMMY Zero is running and accessible
- Check firewall settings if using Docker installation
- Review Home Assistant logs for connection errors
Zones Not Appearing:
- Make sure the Home Assistant switch is enabled for the zone under Network Configuration → Integrations
- Verify presence detection is working in the TOMMY Zero dashboard
- Confirm the integration is active in Home Assistant
- Check entity state in Developer Tools → States
- Restart the TOMMY integration if needed