Envisalink connection to Home assistant on Raspberry

Failed to call service alarm_control_panel/alarm arm away “Nonetype” object has no attribute “write”"