I’m working on a new custom integration and I was reading and following the docs here.
However, I cant figure out where the fetch_data
function comes from. As far as I can tell, the my_api
object is typically a DataUpdateCoordinator
? Doesnt seem like it has a fetch_data
function at all and I get a 'DataUpdateCoordinator' object has no attribute 'fetch_data'
error when I try.
Thanks for any clarity.