yi-hack_ha_integration
yi-hack_ha_integration copied to clipboard
Payload & value errors in logs during HA startup
Hi, when I start HA i get these two errors related to YiHack. What should I do to avoid them? Thanks
Logger: homeassistant.components.mqtt.number
Source: components/mqtt/number.py:206
Integration: MQTT (documentation, issues)
First occurred: 15:39:04 (6 occurrences)
Last logged: 15:39:05
Payload '
{ "SWITCH_ON":"yes", "SAVE_VIDEO_ON_MOTION":"yes", "SENSITIVITY":"low", "AI_HUMAN_DETECTION":"no", "FACE_DETECTION":"no", "MOTION_TRACKING":"no", "SOUND_DETECTION":"yes", "SOUND_SENSITIVITY":"50", "LED":"yes", "ROTATE":"no", "IR":"yes", "CRUISE":"off", "NULL":"NULL" }' is not a Number
and
Logger: homeassistant.helpers.template
Source: helpers/template.py:627
First occurred: 15:39:04 (6 occurrences)
Last logged: 15:39:05
Error parsing value: 'dict object' has no attribute 'PTZ_PRESET' (value:
{ "SWITCH_ON":"yes", "SAVE_VIDEO_ON_MOTION":"yes", "SENSITIVITY":"low", "AI_HUMAN_DETECTION":"no", "FACE_DETECTION":"no", "MOTION_TRACKING":"no", "SOUND_DETECTION":"yes", "SOUND_SENSITIVITY":"50", "LED":"yes", "ROTATE":"no", "IR":"yes", "CRUISE":"off", "NULL":"NULL" }, template: {{ value_json.PTZ_PRESET | int }})