-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
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
Add Stookwijzer #84435
Add Stookwijzer #84435
Conversation
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Removed request for review, as these comments hasn't been resolved: |
@frenck I believe this PR is ready now! |
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
@frenck last item on the list. Without unique_id, the integration seems not to work. Is this really a problem, having lat/lon as unique_id? Docs suggest this also. |
That unique ID I'm suggesting to remove, it the unique ID for the config entry. It isn't directly used or needed and complete option. It should not influence the integration in any way (it is only used to prevent duplicates, for which lat/long is not really a fit). This specific identifier is generally used for e.g., a device serial number, account ID, mac addresses, those kinds of things. I'm happy to make/test and push the change in a working fashion, if you are ok with that? ../Frenck |
Yes, this would really help! |
I'll dive right into it 👍 |
@fwestenberg I've pushed a change containing:
Let me know what you think. ../Frenck |
Hi Frenck, your changes look to me! Thanks for your effort! |
Added one more thing that I noticed missing in the final tests. Since it is using the This allows, e.g., the automation and scripts editors to provide the end-user with a list of states to choose from: If you are ok with all these changes (including this last one), please let me know. I'll finalize the adding of this integration at that point. ../Frenck |
Really nice you've added this as well. I'm satisfied! |
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.
Alright, thanks @fwestenberg 👍
../Frenck
Breaking change
Proposed change
New integration: Stookwijzer.nu.
Type of change
Additional information
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.To help with the load of incoming pull requests: