Make your tabID nullable:
public int? tabID;
Value null could not be deserialized to integer.
That’s your 6-th part of json (or 5-th starting with 0):
{\"bmk\":\"test-m\",\"state\":\"on\",\"type\":\"motor\",\"tabID\":null}
You could see, that tabID is null there.