Beginner HA developer question here.
I developed in a lot of languages, but Python is not one of them. Now, I installed an integration (Dreamscreen) that gives up searching for the state of entities if the device is not available when HA starts up. I have to restart JA after the device is turned on to see that the entities are available again. I would like to change the code so that it will keep on polling every x minutes or so to check whether the device is available again. Can anyone point me to a tutorial or something where this is clearly explained? I already went through the devellper documentation and code of other integrations but somehow I cannot find/understand it.