p.kaczmarek2 wrote: This is because we started with get/set and then added cmnd tasmota style syntax but gets are going through common API and it's not possible to change only part of them to one syntax and keep others in second syntax.
But do you think this is really important?
I will add autodiscovery soon so people will not have to worry about the yaml syntax.
Of course I could change all syntax to match Tasmota, but this would break stuff for my current OpenBeken users...
Hey again,
that's absolutely understandable.
But what, if you could match /stat/device/parameter internally to /device/parameter/get
Meaning, accept both but implement the functionality just once.
With discovery, you are right, it's not important.
BUT: people are used to syntax of Tasmota. Maybe not for Home Assistant. But at least with FHEM they are.
So supporting maybe both syntaxes is a good idea? And matching on to the other can help?
So the "real" syntax could be set/get and a "proxy" with matching to the original could be /cmnd... /stat...?
Just an idea.
But anyway it's understandable. Just make sure, that documentation is clear and people can figure out, what is done and why.
Go on as you like. The project is good and needed. Just give the people a chance to understand how to use it, without the need to read code.
Another thing: can you produce another built with the changes? In GIT it's still before the changes.
Thanks,
best.