home-assistant/example-custom-config

Recommendations for a async polling example

sillyfrog opened this issue · 1 comments

@balloob : further to the async push example you helped me with, I'm looking to do the same (as discussed) with a polling implementation.

I'm still new to HA, so please excuse the newbie questions :)

Do you have any thoughts as to which way I should go for the example, "Coordinated" or "Separate" (as per here: https://developers.home-assistant.io/docs/integration_fetching_data/#coordinated-single-api-poll-for-data-for-all-entities )? Just wrapping my head around it, and the implementation of the two I think will end up quite different.

Cheers.

Yeah, it should be an example using the data update coordinator.