-
-
Notifications
You must be signed in to change notification settings - Fork 30.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 WatchYourLAN integration #125238
base: dev
Are you sure you want to change the base?
Add WatchYourLAN integration #125238
Conversation
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.
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
Approved +2 |
@joostlek I appreciate the thorough review and think I've been able to address all the comments. Looking forward to another round of review, when you have time! |
…hyourlanclient library
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.
The integration needs more work to be clean and neat. Checkout an integation like airgradient
for a good example to look to
…t library version
…nnecessary code This commit refactors the WatchYourLAN sensor entity descriptions by removing the mac_address field and simplifying the code. The native_value method in the WatchYourLANGenericSensor class has also been updated to return None when the device_field is not found. This improves the overall readability and maintainability of the code.
…fy_ssl field Update the WatchYourLAN sensor entity descriptions in the strings.json file. Also, add the verify_ssl field to the user data step in the config flow.
Apologies for the slow response time here. Life events got in the way of me responding to your last feedback in a timely manner. |
Don't apologize for that, life events go before an integration :) |
Proposed change
Adding support for WatchYourLAN (https://github.com/aceberg/WatchYourLAN) integration. This will allow HA to fetch information from the WatchYourLAN API and process the results at entities.
Type of change
Additional information
Checklist
ruff format homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
Feature: Add WatchYourLAN integration docs home-assistant.io#34584
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
.To help with the load of incoming pull requests: