Converting Cron sensor to config entity.