Closed ChristianKuehnel closed 6 years ago
Hey @ThomDietrich,
can you have a look if this is what you wanted?
Hey! Yes looks good! At a later point we should maybe rethink the whole cache and cache timeout concept. The current way of operation is a bit intransparent, which led to me implementing these helper functions. It stands to question if instead the caching behavior should be changed.
Anyhow, for now I think we are perfectly fine with the PR as is.
This is a manual rebase/cherrypick of https://github.com/open-homeautomation/miflora/pull/36.
We now offer 2 new functions to manually check/influence the cache: