Example of Sensor that takes data from an external web socket that continuously pushes data?

Hi,

Can anyone think of an existing sensor/integration (core or HACS) that sits on a socket to an external public API data feed, with data pushed down to it continuously - then processes that data and updates a sensor state/attributes?

I’ve got great examples for polling sensor integrations, but I cannot think of one that needs to keep a socket open and process data as it comes.

Would this be an “async” thing? Seen that mentioned…

I’d like something real world to see if I can learn from it, to do a little personal project.

Cheers, Tim :slight_smile: