pychromecast icon indicating copy to clipboard operation
pychromecast copied to clipboard

homeassistant.py constructor arguments

Open ole1986 opened this issue 3 years ago • 2 comments

I could not figure out the hass_url and client_id plus the refresh_token arguments given in the HomeAssistantController class. Can someone explain me how to achieve this?

ole1986 avatar Dec 28 '20 08:12 ole1986

I think it's easiest to study the Home Assistant code: https://github.com/home-assistant/core/blob/dev/homeassistant/components/cast/home_assistant_cast.py

emontnemery avatar Jan 07 '21 16:01 emontnemery

Is ths supposed to be the Home Assistant url of the local home-assistant.io project or can it also take the Google Home url directly?

ole1986 avatar Jan 11 '21 07:01 ole1986