Walk me through how you would design an automation framework from scratch for a new energy monitoring dashboard.