Unifi Network Rules
sirkirby/unifi-network-rules · vv4.4.10
Allows you to manage, backup, and automate your UDM firewall policies, routes, and rules in Home Assistant
In Apple Home through HomeKit Bridge
What HomeKit Bridge makes of each kind of entity this integration creates, read from its source code. A device only gets the ones that apply to it.
| Entity | Shows up as | Note |
|---|---|---|
switch | Switch or outlet |
What people report
Manages UniFi firewall and traffic rules on UniFi gateways locally. Switches are optimistic and eventually consistent.
- Partly works1
| Device | In Home Assistant | In Apple Home | What they said | Source |
|---|---|---|---|---|
| UniFi Dream Machine SE (UDM-SE) | Partly works Local | Rule switches work but state is optimistic and may lagSaved copyI can create a template switch but it has strange behaviour. Toggling the switch controls the rule on the UDM-SE. However the native switches don't update. And then the template switch turns off whilst leaving the UDM-SE rule enabled. Very odd. Excerpt saved from GitHub on 2026-10-23. | Issue #59 · 2025-06 |
Gathered from GitHub issues, pull requests, discussions and docs, and from r/homeassistant. These are individual reports, so check the linked thread and the date before you buy.
How it connects
Local push
Talks to the device on your network, and the device tells Home Assistant the moment something changes.
Details
| Installs (analytics) | 305 (0.04%) |
|---|---|
| GitHub stars | 66 |
| Latest version | v4.4.10 (2026-10-18) |
| Set up in the UI | Yes |
| Maintainers | @sirkirby |
| License | MIT |
Limitations from the README
- This integration uses the same core library that Home Assistant Unifi integration uses, so there can be version incompatibility issues at time. We may ship with a higher version causing conflicts if you use multiple UniFi integrations. Sometimes restarting Home Assistant can help. This will not support all the …
In ReReHome
Whatever HomeKit Bridge shares reaches Apple Home as normal HomeKit accessories behind your Home Assistant bridge, so ReReHome shows and controls them like any other.
Bridges get their own settings page listing the accessories behind them.
Sources
- Documentation: https://github.com/sirkirby/unifi-network-rules
- Source code: https://github.com/sirkirby/unifi-network-rules
- Issues: https://github.com/sirkirby/unifi-network-rules/issues
- HACS: https://hacs.xyz