sfstar / hass-victron

Integration for Home Assistant to fetch data from the victron gx device via modbusTCP
Apache License 2.0
157 stars 24 forks source link

Unit of measurements w, W, W, W, W, W, W of input sensor.victron_solarcharger_yield_power_239, #172

Closed pos-ei-don closed 2 months ago

pos-ei-don commented 4 months ago

Hallo, Seit dem Update von HA auf 20124.02 bekomme ich von dem Addon diese Fehlermeldung: Was kann ich tun?

Die Maßeinheiten sind nicht korrekt Die Maßeinheiten „w, W, W, W, W, W, W“ der Eingabesensoren „sensor.tmpl_pv_fronius_frommodbus_power, sensor.victron_solarcharger_yield_power_239, sensor.victron_solarcharger_yield_power_235, sensor.victron_solarcharger_yield_power_231, sensor.victron_solarcharger_yield_power_238, sensor.pv9_hm1200_power, sensor.hmt_1800_power“ sind nicht kompatibel und können nicht mit der Geräteklasse „power“ der Sensorgruppe „sensor.grp_pv_sum_aktuell“ konvertiert werden.

Bitte korrigiere die Maßeinheit der Quellentitäten und lade den Gruppensensor neu, um dieses Problem zu beheben.

image

sfstar commented 4 months ago

Hello and thank you for submitting an issue,

Please edit your question and translate it to english. I'm able to read german, but neither german nor english are my native language. By keeping english as the language of choice in this issue tracker the details of issues reported can be understood by a wider audience.

pos-ei-don commented 3 months ago

Unit of measurements w, W, W, W, W, W, W of input sensors sensor.tmpl_pv_fronius_frommodbus_power, sensor.victron_solarcharger_yield_power_239, sensor.victron_solarcharger_yield_power_235, sensor.victron_solarcharger_yield_power_231, sensor.victron_solarcharger_yield_power_238, sensor.pv9_hm1200_power, sensor.hmt_1800_power are not compatible and can't be converted with the device class power of sensor group sensor.grp_pv_sum_aktuell.

Please correct the unit of measurements on the source entities and reload the group sensor to fix this issue.

pos-ei-don commented 3 months ago

... It is still the case in New 0.2.0

sfstar commented 3 months ago

Thank you for translating. The integration uses the official constant UnitOfPower.WATT. Therefore, I believe that the issue might be in the template sensor definition. Could you share the yaml for that template sensor?

pos-ei-don commented 2 months ago

Sorry, I did not know that this has nothing to do with this addon.