Skip to main content
Energy Control Pro provides 9 sensor entities that monitor your solar power system’s state, power flows, and energy management actions.

Power Monitoring Sensors

Solar Power

sensor.energy_control_pro_solar_w
sensor
Real-time solar panel power generation.
key
string
default:"solar_w"
Internal identifier for the sensor
native_unit_of_measurement
string
default:"W"
Unit of measurement (Watts)
device_class
string
default:"power"
Home Assistant device class
icon
string
default:"mdi:solar-power"
Material Design Icon identifier
native_value
int
Current solar power generation in watts

Load Power

sensor.energy_control_pro_load_w
sensor
Current household power consumption.
key
string
default:"load_w"
Internal identifier for the sensor
native_unit_of_measurement
string
default:"W"
Unit of measurement (Watts)
device_class
string
default:"power"
Home Assistant device class
icon
string
default:"mdi:home-lightning-bolt"
Material Design Icon identifier
native_value
int
Current load power consumption in watts

Surplus Power

sensor.energy_control_pro_surplus_w
sensor
Available excess solar power after household consumption.
key
string
default:"surplus_w"
Internal identifier for the sensor
native_unit_of_measurement
string
default:"W"
Unit of measurement (Watts)
device_class
string
default:"power"
Home Assistant device class
icon
string
default:"mdi:transmission-tower-export"
Material Design Icon identifier
native_value
int
Current surplus power available in watts

Grid Import Power

sensor.energy_control_pro_grid_import_w
sensor
Power currently being imported from the electrical grid.
key
string
default:"grid_import_w"
Internal identifier for the sensor
native_unit_of_measurement
string
default:"W"
Unit of measurement (Watts)
device_class
string
default:"power"
Home Assistant device class
icon
string
default:"mdi:transmission-tower-import"
Material Design Icon identifier
native_value
int
Current grid import power in watts

Grid Export Power

sensor.energy_control_pro_grid_export_w
sensor
Power currently being exported to the electrical grid.
key
string
default:"grid_export_w"
Internal identifier for the sensor
native_unit_of_measurement
string
default:"W"
Unit of measurement (Watts)
device_class
string
default:"power"
Home Assistant device class
icon
string
default:"mdi:transmission-tower-export"
Material Design Icon identifier
native_value
int
Current grid export power in watts

State and Duration Sensors

Energy State

sensor.energy_control_pro_energy_state
sensor
Current energy flow state of the system.
key
string
default:"energy_state"
Internal identifier for the sensor
icon
string
default:"mdi:flash"
Material Design Icon identifier
native_value
string
Current state: “importing”, “exporting”, or “balanced”

Export Duration

sensor.energy_control_pro_export_duration_min
sensor
Duration of continuous grid export.
key
string
default:"export_duration_min"
Internal identifier for the sensor
native_unit_of_measurement
string
default:"min"
Unit of measurement (Minutes)
device_class
string
default:"duration"
Home Assistant device class
state_class
string
default:"measurement"
Home Assistant state class for historical tracking
icon
string
default:"mdi:timer-outline"
Material Design Icon identifier
native_value
int
Duration in minutes the system has been exporting to grid

Import Duration

sensor.energy_control_pro_import_duration_min
sensor
Duration of continuous grid import.
key
string
default:"import_duration_min"
Internal identifier for the sensor
native_unit_of_measurement
string
default:"min"
Unit of measurement (Minutes)
device_class
string
default:"duration"
Home Assistant device class
state_class
string
default:"measurement"
Home Assistant state class for historical tracking
icon
string
default:"mdi:timer-outline"
Material Design Icon identifier
native_value
int
Duration in minutes the system has been importing from grid

Action Tracking Sensor

Last Action

sensor.energy_control_pro_last_action
sensor
Most recent optimization action taken by the system.
key
string
default:"last_action"
Internal identifier for the sensor
icon
string
default:"mdi:clipboard-text-clock-outline"
Material Design Icon identifier
native_value
string
Description of the last optimization action performed (e.g., “Turned ON switch.boiler (surplus 1100W for 10 min)“)

Entity ID Format

All sensor entity IDs follow the pattern: sensor.energy_control_pro_{key} where {key} is the internal sensor identifier. Complete list of sensor entity IDs:
  • sensor.energy_control_pro_solar_w - Solar power generation
  • sensor.energy_control_pro_load_w - Household load consumption
  • sensor.energy_control_pro_surplus_w - Available surplus power
  • sensor.energy_control_pro_grid_import_w - Grid import power
  • sensor.energy_control_pro_grid_export_w - Grid export power
  • sensor.energy_control_pro_energy_state - Current energy state
  • sensor.energy_control_pro_export_duration_min - Export duration
  • sensor.energy_control_pro_import_duration_min - Import duration
  • sensor.energy_control_pro_last_action - Last optimization action

Usage Example

# Use in automations or templates
automation:
  - alias: "Alert on high export"
    trigger:
      - platform: numeric_state
        entity_id: sensor.energy_control_pro_export_duration_min
        above: 15
    action:
      - service: notify.mobile_app
        data:
          message: "Solar export exceeding 15 minutes: {{ states('sensor.energy_control_pro_grid_export_w') }}W"

Update Interval

All sensors update every 10 seconds as configured in the coordinator (coordinator.py:90-95).

Build docs developers (and LLMs) love