-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update API for personalised results #103
Conversation
Works on my machine. Thanx! |
Just wanted to drop a quick note to say that the code is working flawlessly, running without any errors for the past ±24 hours. Thanks! |
Works a treat! |
# Initialise the coordinator and save it as domain-data | ||
api = FrankEnergie( | ||
clientsession=async_get_clientsession(hass), | ||
auth_token=entry.data.get(CONF_ACCESS_TOKEN, None), | ||
refresh_token=entry.data.get(CONF_TOKEN, None), | ||
) | ||
frank_coordinator = FrankEnergieCoordinator(hass, entry, api) | ||
frank_coordinator = FrankEnergieCoordinator(hass, entry, api, entry.data.get("site_reference")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is een aparte site_reference
parameter nodig als dit altijd deel is van het entry
-object?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, nope. Good catch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Great work. |
Fixes #101