Entity Requirements
Both solar and load entities must meet strict requirements for accurate energy calculations:Power Unit Requirements
Entities must report power in one of these units:- W (watts) - preferred
- kW (kilowatts) - automatically converted to watts
Values in kW are multiplied by 1000 during reading. For example,
2.5 kW becomes 2500 W.Entity State Requirements
Entity must exist
The entity ID must be registered in Home Assistant. Verify in Developer Tools → States.
Configuration Steps
Navigate to integration settings
Go to Settings → Devices & Services → Energy Control Pro → Configure.
Select solar power entity
Choose your solar production sensor from the Solar Power Entity dropdown.Example entities:
sensor.solar_panels_powersensor.inverter_ac_powersensor.pv_production_w
Select load power entity
Choose your home consumption sensor from the Load Power Entity dropdown.Example entities:
sensor.home_power_consumptionsensor.total_load_wsensor.grid_consumption
Entity Validation Process
When you save the configuration, Energy Control Pro validates each entity:Negative values are automatically clamped to zero to prevent calculation errors.
Common Issues
Entities not found during setup
Error message:real_entity_not_found
Solution:
Check entity domain
Solar and load entities must be in the
sensor domain (e.g., sensor.solar_power).Invalid value/unit errors
Error message:real_entity_unit_not_w or real_entity_not_numeric
Solution:
Check unit of measurement
In Developer Tools → States, look at the entity attributes. The
unit_of_measurement must be W or kW.Verify numeric state
The current state must be a number. If it shows text like “On” or “Offline”, that entity won’t work.
Sensors not updating
Error message: Sensors show old values or “Unknown” Solution:Confirm integration is loaded
Go to Settings → Devices & Services and ensure Energy Control Pro shows as “Configured”.
Check update interval
Real mode updates every 10 seconds. Wait at least 10 seconds after configuration changes.
Entity unavailable intermittently
Problem: Entities occasionally go unavailable, causing sensor updates to fail. Solution:- Energy Control Pro will show
UpdateFailedin logs when source entities are unavailable - The integration will retry on the next update cycle (10 seconds)
- Fix the underlying integration that provides the solar/load sensors
- Consider using sensors with better reliability or adding availability templates
Switching Between Simulation and Real Mode
You can toggle between simulation and real mode at any time:Verifying Real Mode Operation
After configuration, verify that real data is flowing:Check sensor values
Navigate to Settings → Devices & Services → Energy Control Pro and view the device.Verify these sensors show realistic values:
sensor.energy_control_pro_solar_wsensor.energy_control_pro_load_w
Monitor calculated values
Check that derived sensors update correctly:
sensor.energy_control_pro_surplus_w= solar - loadsensor.energy_control_pro_grid_import_w(when load > solar)sensor.energy_control_pro_grid_export_w(when solar > load)
Next Steps
Once real mode is configured and working:- Set up optimization strategies to control loads
- Import the dashboard to visualize your energy flow
- Configure alerts for sustained import/export conditions