👍🎉 First off all, many thanks for taking the time to contribute! Appreciated! 🎉👍
The following is a set of guidelines for contributing to this integration. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
This section guides you through submitting a bug report for the integration. Following these guidelines helps maintainers and the community understand your report, reproduce the behavior, and find related reports.
Before creating bug reports, please check this issues list as you might find out that you don't need to create one. When you are creating a bug report, please include as many details as possible:
- Use a clear and descriptive title for the issue to identify the problem.
- Describe the exact steps which reproduce the problem in as many details as possible.
- Provide specific examples to demonstrate the steps.
- Describe the behavior you observed after following the steps and point out what exactly is the problem with that behavior.
- Explain which behavior you expected to see instead and why.
- Provide both HA and integration software version numbers.
- Please try to include logs
-
Enable debug logs for "tech" component by going to
Devices & Services
-> Tech Controllers and clicking onEnable debug logging
: -
Try to trigger the issue to gather the logs.
-
Disable logging in the same place as in step 1. Download the created file and attach to the issue.
Getting actual raw JSON data directly from emodul can be very helpful in debugging issues.
-
Go to your emodul site emodul.pl/emodul.eu while logged in, open Developer Tools (F12), Network tab.
-
Refresh the page and then look for XHR type request to your module id. Click on it and get the JSON response:
-
Save in a file and attach to the issue or if it's too big, save in a service like Pastebin and attach the link in the issue.
Sometimes it can also be helpful to get Home Assistant config entires, device registry and entity registry to check what was ultimately created for the integration.
-
Go to
<HA installation folder>/config/.storage
. -
Downlaod all three files:
core.device_registry
,core.entity_registry
,core.config_entry
-
Edit the files to contain only
tech
domain items. -
❗ Edit the files to remove all sensitive information like passwords ❗
-
Pack the files into a .zip file and attach to the isse.
Caution
email
, username
, password
, user_id
and token
!.