I’m extremally confused with async_setup_entry
method in platforms definitions. I’m not able to find a single piece of documentation about it signature. What are it parameters and their types, etc…
In; https://developers.home-assistant.io/docs/config_entries_index/
it is defined as (not very useful though):
async def async_setup_entry(hass, config_entry, async_add_devices):
"""Set up entry."""
but for example in other places like zha
integration:
async def async_setup_entry(hass, config_entry, async_add_entities):
"""Set up entry."""
Are async_add_devices
and async_add_entities
same handlers?