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

This commit is contained in:
Maciej Bieniek authored and GitHub committed 2020-06-03 09:46:42 -06:00
1 parent 0950ab0dd8
commit b8f8b6fa50
1 file changed
+1 -1
@@ -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)