StephanJoubert / home_assistant_solarman

Home Assistant component for Solarman collectors used with a variety of inverters.
Apache License 2.0
508 stars 191 forks source link

PV integration not working after upgrade #474

Open Ic3b3rg opened 6 months ago

Ic3b3rg commented 6 months ago

The problem

Issue with "solarman home assistant" entity after upgrading to core-2023.12.4 Problem Description After upgrading from version core-2023.12.3 to core-2023.12.4, I am encountering an issue with the entity of my integration "solarman home assistant". In the dashboard, I'm getting the following error on a frontend component:

sensor.solarman_zcs_activepower_load_sys is not a numeric value

Steps to Reproduce

Upgrade to core-2023.12.4. Check the dashboard. Encounter the above-mentioned error. Current Behavior The frontend component reports the error "is not a numeric value" for the entity "sensor.solarman_zcs_activepower_load_sys".

Expected Behavior

After the upgrade, it is expected that the entity "sensor.solarman_zcs_activepower_load_sys" is recognized as a numeric value without errors in the dashboard.

Additional Context

I identified the issue immediately after the upgrade, and it seems the problem is related to the code in the template:

<template DomainStates('solarman_zcs_activepower_load_sys')>

Home Assistant Version

Current Version: core-2023.12.4 Previous Version: core-2023.12.3

Thank you for looking into this issue. I am available for further information or tests that may help resolve the problem.