Fixed Broken views when schema changes from smartthings