Fix using the async api from sync context (#36408)

This commit is contained in:
Maciej Bieniek
2020-06-03 17:46:42 +02:00
committed by GitHub
parent 0950ab0dd8
commit b8f8b6fa50
@@ -43,7 +43,7 @@ DUNEHD_PLAYER_SUPPORT = (
)
def setup_platform(hass, config, add_entities, discovery_info=None):
async def async_setup_platform(hass, config, async_add_entities, discovery_info=None):
"""Set up the Dune HD media player platform."""
host = config.get(CONF_HOST)