Add label to disable/enable device schedule and add some error handling for display schedule name
Add sensor_flag to device_schedule factory
Move some code from view to model