Skip to content
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

Merged
merged 3 commits into from
Feb 29, 2024
Merged

Update API for personalised results #103

merged 3 commits into from
Feb 29, 2024

Conversation

DCSBL
Copy link
Collaborator

@DCSBL DCSBL commented Feb 25, 2024

Fixes #101

@AbeltjeNL
Copy link

Works on my machine. Thanx!

@Blupfis
Copy link

Blupfis commented Feb 26, 2024

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!

@tbrasser
Copy link

Works a treat!

@DCSBL DCSBL requested a review from bajansen February 29, 2024 06:34
# 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"))
Copy link
Owner

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, nope. Good catch

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

custom_components/frank_energie/__init__.py Show resolved Hide resolved
@DCSBL DCSBL merged commit 7570e55 into main Feb 29, 2024
1 check passed
@DCSBL DCSBL deleted the update-user-api branch February 29, 2024 12:57
@DCSBL DCSBL changed the title Update API for personalized results Update API for personalised results Mar 7, 2024
@Knoeier66
Copy link

Great work.
Had to remove the integration, re-downloaded, re-install, restart and working again.
Core
2024.3.0
Supervisor
2024.02.1
Operating System
12.0
Frontend
20240306.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Instellen mislukt, wordt opnieuw geprobeerd
6 participants