配置示例 :
binary_sensor:
- platform : baidu_face
# 从百度ai人脸识别平台的应用管理里获取
app_id : xxxxxxxxxx
api_key : xxxxxxxxxxxxxxxxxxx
secret_key: xxxxxxxxxxxxxxxxxxxxxxxxxx
group_id: xxxxxx
# homeassistant 端口
port: 8123
# homeassistant 密码(可以为空)
ha_passwd: xxxxxxxxxxx
# 摄像头entity_id
entity_id: camera.mjpeg_camera
# 刷新频率(1~30s)
scan_interval: 2