Fix for new get_client method. Looks like ha_get_token is gone and token doesn't need to be passed to ha_get_client anymore
File "./write_profile.py", line 4, in <module>
from harmony_hub_funcs import harmony_hub_client
File "/home/pi/Polyglot/config/node_servers/harmonyhub-polyglot/harmony_hub_funcs.py", line 2, in <module>
from pyharmony import ha_get_token,ha_get_client
ImportError: cannot import name ha_get_token
Use new activity_name/activity_id instead of my existing routines.
Pass activity_callback to get_client. The callback is called when acitivty id is changed!
Make sure get_client times out when hub is not responding