Official documentation here.
1. Add the following config to /config/configuration.yaml
zoneminder:
- host: [zoneminder-ip-or-hostname]
path: /zm/
ssl: false
username: [zoneminder-ha-user]
password: [zoneminder-ha-user-password]
camera:
- platform: zoneminder
sensor:
- platform: zoneminder
include_archived: false
2. Restart Home Assistant Core