Bad Request with ZigBee


When i have added to configurations this rows:

port: /dev/ttyUSB0

HA server return Bad request
“digizigbee” - this is the module wrote by myself.
It works fine. no any errors. I don’t know how “digizigbee” related to Bad request
Here is source of “digizigbee”

If somebody knows what happen let me know