type 11 : improve json for door/window sensor