-
Notifications
You must be signed in to change notification settings - Fork 290
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 notificationforandroidtv to latest #3189
Add notificationforandroidtv to latest #3189
Conversation
Why did you close this PR? OK - seems to be an misundersatnding of web portal "add to latest". See remark at Forum. |
Yep, seem so, because there was an error while "add to latest" > there is a open PR,... |
First of all - THANK YOU for the time and effort you spend to maintain this adapter. I would like to give some feedback based on my personal oppinion. @Apollon77 might have additional suggestions or even a different oppinion to one or the other statement. Please feel free to contact him if you cannot follow my suggestions or want to discuss some special aspects.
You seem to be using the data entered by user at config without any filtering. The IP address could contain any other data i.e. as the user would enter ain IPv6 Address. Please add conversion or blocking of illegal characters. ote that dots are ONLY allowed to seperate between device / channel / folder and states.
Thanks for reading and evaluating this suggestions. Please add a comment when you have reviewed and fixed the suggestionsor at least commented the suggestions and you think the adapter is ready for a re-review! |
reminder 28.01.2024 |
const bkgcolor = {
0:"neutral blue",
1:"black",
2:"blue",
3:"green",
4:"red",
5:"light blue",
6:"turquoise",
7:"orange",
8:"purple"
}
|
Standard checks are failing. Please fix. All adapters must use standadard github testing (as minimum) and tests must pass. Errors reported by adapter checker must be fixed. You can run Repo Checker using www.iobroker.dev at any time too. |
reminder 12.2.2024 |
Hey, I don't know what to do because the issues we faced up have nothing to do with the written code from me and relations. It's something what came up after lint --fix, so I have absolute no idea what's the issue there and don't know how to fix that. Everything from the request on Jan 14th was changed exact as expected. So if after lint --fix some parts in the ground adapter are not working anymore,... I can't do there anything. |
Automated adapter checkerioBroker.notificationforandroidtv👍 No errors found
Add comment "RE-CHECK!" to start check anew |
Well github based tests are mandatory. Adapter code must be written so that they pass. So failing tests are related to the coe in some form. But we will try to fix this together - so no worry. To get this PR done the following topics are open:
THANKS that you merged the older PR adding tests. As I stated some changes would be required in the meantime as supprot for node 16 has been dropped. (at testing). I have provides a PR to fix this for you.
I've analyzed your code in Detail. The reason for this problem is / was that you write the adapter using class style (that the current style and is ok) BUT in addition used adapter=util.adapter(....) which is the initalization to be used for old legacy, non class code. So you created to instzancey of teh adapter during startup causing problems later. I provided a PR to adapt your code to use class style (this.xxx) only. So please check the PR DNAngelX/ioBroker.notificationforandroidtv#20 which fixes all issues causing problems with testing. Please note that code review revealed two more suspect code places which should be checked by you. They are listed at the PR. Please create a new release after merging the PR and check that the test are passing then. As soon as this is done, let me know by dropping a comment here. reminder 1.5.2024 |
Testing seems to be fixed now. So no more blocking is present. |
This adapter has been released to latest repository and should be visible within 24h maximum. Please create a thread at https://forum.iobroker.net/category/91/tester titled like "Test Adapter " to collect some user feedback and provide a link to this topic when requesting addition to stable repository later. Note: If an other testing topic already exists, it' OK to continue using this topic too. |
Hey, thought the github-actions comment was enought :) Better late then never I would say :) THX |
Please add my adapter ioBroker.notificationforandroidtv to latest.
This pull request was created by https://www.iobroker.dev c0726ff.