DavidMStraub / homeassistant-homeconnect

Custom component for Home Assistant to connect appliances supporting the Home Connect standard
MIT License
118 stars 29 forks source link

Assign entities to Home Assistant devices #39

Closed FuX-STV closed 5 years ago

FuX-STV commented 5 years ago

Hello

The Device List are empty. can you check this? image

Version homeassistant-homeconnect: a6bbdf4 Version Home Assistant: 0.102.0b2

Thanks

DavidMStraub commented 5 years ago

Can you check if restarting HA helps?

FuX-STV commented 5 years ago

it seems not better :/

DavidMStraub commented 5 years ago

Did it work before or did you try it for the first time?

Please also try deleting the integation and adding it again using the config flow.

If this doesn't help, you could try debugging it with the Python module to check if any appliances are found at all:

from homeconnect import HomeConnect
import webbrowser

client_id = "..."
client_secret = "..."
redirect_uri = "https://..."

hc = HomeConnect(client_id, client_secret, redirect_uri)
webbrowser.open(hc.get_authurl())

auth_result = input("Paste authentication URL")

hc.get_token(auth_result)
appl = hc.get_appliances()
print(appl)
FuX-STV commented 5 years ago

its my first installation of that component... that restart workaround does not work

anthonyangel commented 5 years ago

My device list in integrations is empty, but the resources have been added and I can view in the states page or in the UI

FuX-STV commented 5 years ago

ohhh lol... sorry for that..

DavidMStraub commented 5 years ago

Oh I see. But this is actually a good point because it means I still need to properly assign the entities to HA devices.