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

Inconsistency in the capitalization of python framework Create() function arguments #6048

Open
guillaumezin opened this issue Mar 28, 2024 · 0 comments

Comments

@guillaumezin
Copy link
Contributor

Hello,

There are inconsistencies between Create() arguments and objects of plugin framework and extended plugin framework.

For SubType and SwitchType, there is no capital "T" when calling the Create() function, but there is one when using the Unit member.

Could we make this case insensitive, to keep backward compatibility, and prevent headhaches? Even the https://www.domoticz.com/wiki/Developing_a_Python_plugin is not consistent with the code (but I will correct it).

Thank you.

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

No branches or pull requests

1 participant