I have an integration that currently works with cloud polling. I’m using the DataUpdateCoordinator pattern which works well. On the interval, the coordinator makes a single API call to collect data, and the entities refresh.
However the platform I’m connecting to now supports sending some data via push. This is completely different data than the poll, so I can’t replace the polling with push.
Has anyone implemented something like this before or know of an integration that does? I’m trying to think of a clean way to handle both and maybe leverage the coordinator for the push too to centralize it.