entity class correctly sets state as dict
demo class builds instances with full packet chronology