Closed gh471 closed 1 year ago
It only checks your shares when adding the integration.
Steps how to solve the problem:
Settings -> Devices & Services -> Integrations
windcentrale
integration.Settings -> Devices & Services -> Integrations
windcentrale
integration.windcentrale
integration.null
Issue is solved by step 4-5-6
Checklist
The problem
The total number of shares is incorrect when you have several participations for a windturbine. I had already a participation with 3 shares for windturbine TW (Trouwe Wachter) and bought an extra participation with 1 share (also TW). The problem is that integration still shows only information on 3 shares. (sensor.de_trouwe_wachter and sensor.de_trouwe_wachter_power_per_share)
What is version of Home Assistant Core did you recieve the bug?
2022.10.2
What is version of Home Assistant Supervisor did you recieve the bug?
2022.10.0
What is version of Home Assistant Supervisor?
9.0
What is version of the Windcentrale integration?
0.2.4
Example Code snippet
No response
Anything in the logs that might be useful for us?
2022-10-10 22:44:47.398 INFO (MainThread) [custom_components.windcentrale.wind] Testing if user credentails are correct 2022-10-10 22:44:47.398 INFO (MainThread) [custom_components.windcentrale.wind] Updating live data of windturbine De Trouwe Wachter using Rest API 2022-10-10 22:44:47.399 INFO (MainThread) [custom_components.windcentrale.wind] Updating news data sensor 2022-10-10 22:44:57.430 INFO (MainThread) [custom_components.windcentrale.wind] Updating live data of windturbine De Trouwe Wachter using Rest API
Additional information
I did some research on the issue and hope it helps a little...
class Credentials: async def collect_projects_windshares(self):
but is not called (the info text does appear in logs)