You can reconfigure any setting at any time by going to the integration’s options without needing to remove and re-add it.
Initial setup
After installing Energy Control Pro, add and configure it:Add the integration
Go to Settings → Devices & Services → Add Integration.Search for and select Energy Control Pro.
Choose mode
You’ll see a configuration form with all available settings. First, decide between simulation and real mode:Simulation mode: ON (enabled) - Uses built-in solar profiles for testing
Simulation mode: OFF (disabled) - Uses your real solar and load sensors
Configure basic settings
The form shows all settings at once. Configure the ones relevant to your setup and leave others at defaults.
Only one Energy Control Pro instance can be installed. The integration enforces a unique ID.
Configuration sections
The configuration form includes several sections. Here’s what each one does:Mode selection
Simulation mode (recommended for testing)
Simulation mode (recommended for testing)
Setting: SimulationWhen enabled, Energy Control Pro uses built-in solar profiles instead of real sensors. Perfect for:
- Testing the integration before connecting real hardware
- Validating your dashboard design
- Testing automations that depend on Energy Control Pro sensors
sunny_day- Typical sunny day with strong solar productioncloudy_day- Variable solar with frequent cloudswinter_day- Low solar production profile
sunny_day profileReal mode (production use)
Real mode (production use)
Setting: Simulation = OFFWhen disabled, you must provide two entity IDs:Solar power entity: Sensor reporting current solar production in wattsLoad power entity: Sensor reporting current home consumption in wattsValidation errors:
real_entities_required- You must provide both solar and load entitiesreal_entity_not_found- Entity ID doesn’t exist in your Home Assistantreal_entity_unavailable- Entity exists but is unavailable or unknownreal_entity_not_numeric- Entity state is not a numberreal_entity_unit_not_w- Entity doesn’t use W or kW units
Alert thresholds
Configure when you want to receive notifications about sustained energy conditions:Import threshold
Setting:
import_threshold_wGrid import power (in watts) that triggers import alerts.Default: 800W
Range: 0-20000W (step: 100W)Example: Set to 500W if you want alerts when importing more than 500W for the configured duration.Export threshold
Setting:
export_threshold_wGrid export power (in watts) that triggers export alerts and load optimization.Default: 800W
Range: 0-20000W (step: 100W)Example: Set to 1000W if you only want to act on surplus above 1000W.Duration threshold
Setting:
duration_threshold_minHow long (in minutes) a condition must persist before triggering alerts or optimization actions.Default: 10 minutes
Range: 1-180 minutes (step: 1 minute)This prevents false alarms from brief spikes or dips in solar production.These thresholds work together. For example: “Alert me when exporting more than 800W for at least 10 minutes.”
Optimization settings
Control whether and how Energy Control Pro automatically manages your loads:Enable optimization
Enable optimization
Setting:
optimization_enabledMaster switch for the optimization engine.Default: Disabled (false)When enabled:- Creates
switch.energy_control_pro_optimizationentity - Creates
select.energy_control_pro_strategyentity - Enables automatic load control based on your configuration
Optimization strategy
Optimization strategy
Setting:
strategyChoose the optimization behavior:maximize_self_consumption (default):- Focuses on turning on loads when sustained surplus exists
- Turns off loads when importing from grid
- Best for maximizing use of solar energy
- Prioritizes reducing grid import
- More conservative about turning loads on
- Best for minimizing grid dependency
- Balanced approach between the two strategies
- Good compromise for most users
Load configuration
Energy Control Pro can control up to 3 loads (switch or input_boolean entities). Each load has identical configuration options:Select entity
Setting: Leave empty to skip that load slot.
load_1_entity, load_2_entity, load_3_entityChoose a switch or input_boolean entity to control.Set minimum surplus
Setting:
load_X_min_surplus_wMinimum surplus power (in watts) required before this load can be turned on.Default: 1200W per load
Range: 0-20000W (step: 100W)Example: Set to 2000W for a 2kW water heater, 1500W for a 1.5kW car charger.Set minimum on-time
Setting:
load_X_min_on_time_minMinimum duration (in minutes) this load must stay on before it can be turned off.Default: 10 minutes
Range: 0-180 minutes (step: 1 minute)Prevents rapid cycling of devices that need warm-up time or shouldn’t be interrupted frequently.Set cooldown period
Setting:
load_X_cooldown_minMinimum duration (in minutes) to wait after turning off before this load can be turned on again.Default: 10 minutes
Range: 0-180 minutes (step: 1 minute)Protects devices like compressors that shouldn’t restart immediately.Set priority
Setting:
load_X_priorityPriority level for this load. Lower numbers have higher priority.Default: 1 for load 1, 2 for load 2, 3 for load 3
Range: 1-3How priority works:- When turning ON: Highest priority (lowest number) loads turn on first
- When turning OFF: Lowest priority (highest number) loads turn off first
All load settings are optional. Leave entity fields empty for loads you don’t want to configure.
Configuration examples
Simple setup: Water heater only
Simple setup: Water heater only
Advanced setup: Three loads with priorities
Advanced setup: Three loads with priorities
- With 4000W surplus: Car charger turns on (priority 1)
- With 6500W surplus: Water heater also turns on (priority 2)
- With 8000W surplus: Pool pump also turns on (priority 3)
- When importing: Pool pump turns off first, then water heater, then car charger
Testing setup: Simulation mode
Testing setup: Simulation mode
Reconfiguring
You can change any setting at any time without removing the integration:Modify settings
The same configuration form appears with your current values.Change any settings you want to update.
Runtime controls
After enabling optimization, you get runtime control entities:Optimization switch
Entity: Use this to temporarily disable optimization during maintenance or when you want manual control.
switch.energy_control_pro_optimizationTurn optimization on or off without reconfiguring:Strategy selector
Entity: Options:
select.energy_control_pro_strategyChange the optimization strategy at runtime:maximize_self_consumption, avoid_grid_import, balancedValidation errors
The configuration flow validates your settings and shows specific errors:| Error Code | Meaning | Solution |
|---|---|---|
real_entities_required | Real mode selected but solar or load entity missing | Provide both entity IDs or enable simulation |
real_entity_not_found | Entity ID doesn’t exist | Check the entity ID in Developer Tools → States |
real_entity_unavailable | Entity exists but state is unavailable/unknown | Fix the underlying sensor integration |
real_entity_not_numeric | Entity state is not a number | Ensure sensor reports numeric values |
real_entity_unit_not_w | Entity doesn’t use W or kW units | Use a power sensor, not an energy sensor |
What’s next?
With Energy Control Pro configured, you’re ready to:- Monitor your energy sensors in the dashboard
- Set up automations based on Energy Control Pro sensors
- Enable optimization to start automatic load control
- Check
sensor.energy_control_pro_last_actionto see optimization decisions