Hey all
Ive built my first component/platform (https://github.com/asantaga/wiserHomeAssistantPlatform) and it appears to be working ok. Once concern I have is that for some sensors I notice that the “last updated” value is a long time ago…
is this normal when the value doesn’t change?
My implementation method was to create a component object (wiser.py) and put all my syncing code in there, within the update method. the component references two platforms (sensor and climate) and what I do here is receive the update() callbacks from platforms and then use a mutex to ensure the REST api to the wiser boiler isnt called more often than the update interval.
Is this correct?
can someone have a nose at my code and tell me what I would need to do to get this published into the HA primary product?
( I know I need to push my WiserAPI to pyPi)
thanks all
Angelo