Skip to content

Panel Groups dialog is confusing about which entity should be selected for group_1_sensor #197

Description

@gpbicego

Describe the issue

In Solar Forecast ML 44.2.2, the Reconfigure Panel Groups dialog is confusing about which entity should be selected for group_1_sensor.

The dialog shows:

Image

Format: Power(Wp)/Azimuth(°)/Tilt(°)/Daily-kWh-Sensor

and later says:

Daily-kWh-Sensor: Home Assistant entity_id of a daily energy sensor for this group.
The sensor should reset at midnight. The sensor part is optional in the input format, but strongly recommended for correct per-group learning.

However, the actual group_1_sensor selector appears to be intended for the panel group's live power sensor, e.g. an entity with:

  • device_class: power
  • unit such as W

rather than a daily-reset energy sensor in kWh.

For example, my correct configuration is:

  • Panel group size: 5998 Wp
  • Azimuth: 180°
  • Tilt: 30°
  • group_1_sensor: sensor.solar_power_production

where sensor.solar_power_production is an instantaneous PV power sensor in watts.

Why this is confusing

The UI currently makes it look as though group_1_sensor should be a daily energy entity such as:

sensor.solar_energy_daily → kWh

rather than:

sensor.solar_power_production → W

This can easily lead to a wrong configuration, especially because the entity selector does not make the expected sensor type obvious.

Expected behavior

The dialog should clearly state that group_1_sensor expects an instantaneous power sensor, for example:

Panel Group Power Sensor
Home Assistant power sensor representing the current output of this panel group.
Expected device class: power
Typical unit: W

The format description could then be changed from:

Power(Wp)/Azimuth(°)/Tilt(°)/Daily-kWh-Sensor

to something like:

Power(Wp)/Azimuth(°)/Tilt(°)/Power-Sensor

Example:

5998/180/30/sensor.solar_power_production

It would also be helpful if the entity selector were filtered to:

device_class: power

so energy, humidity, temperature, etc. sensors cannot accidentally be selected.

Additional suggestion

The same type of device_class filtering would be useful for the optional weather sensors too, for example:

  • Temperature → temperature
  • Humidity → humidity
  • Pressure → atmospheric_pressure
  • Illuminance → illuminance
  • Power → power

I previously managed to configure my humidity sensor as the pressure sensor because the selector did not restrict the available entities.

Version

Solar Forecast ML: 44.2.2
Home Assistant Core: 2026.8.3
Home Assistant OS: 18.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions