Как в букваре написано. Binary sensor - platform: hikvision host: 192.168.1.161 username: dddss password: fdfd
Там ещё написано вот так
In order for the sensors to work the hikvision user must have the 'Remote: Notify Surveillance Center/Trigger Alarm Output' permission which can be enabled from the user management section of the web interface. Also the 'WEB Authentication' needs to be set to 'digest/basic' in the security/authentication section