hif2k1 / battery_sim

Home assistant home battery simulator - allows you to model how much energy you would save with a home battery
124 stars 14 forks source link

Statistics_not_defined #98

Closed brommetje closed 1 year ago

brommetje commented 1 year ago

HA 2023.9.2 and 2023.9.3

Just copied everything into configuration.yaml and restart HA

Statistics_not_defined sensor.sonnen_eco_battery_energy_in sensor.sonnen_eco_battery_energy_out

Entity unavailable The state of these configured entities are currently not available: sensor.sonnen_eco_battery_energy_out (unavailable) sensor.sonnen_eco_battery_energy_in (unavailable)

What do I have to add, doing something wrong?

hif2k1 commented 1 year ago

Sorry your having an issue. Is this a new setup or was it working before? What is the configuration you are using? Most people use the GUI setup (config flow) now instead of configuration.yaml so maybe we've lost some backwards compatibility along the way. If you create a battery_sim with the GUI does it work?

brommetje commented 1 year ago

Hi @hif2k1 it is a new installation just a beginner, so I deleted the stuff in configuraton.yaml, delete the integration, restarted HA and started all over again and configured through the GUI setup now and that works now, thanks for your advise.