iotempire / iotempower

IoTempower is a framework and environment for making the Internet of Things (IoT) accessible for everyone
MIT License
24 stars 20 forks source link

Output/relay node documentation is outdated #48

Open Natomac opened 1 year ago

Natomac commented 1 year ago

Output and relay documentation is outdated, it is showing the old Python parameters. output(name, pin, high_command="on", low_command="off") high_command and low_command not needed anymore.

ulno commented 1 year ago

This is kind of intentional as these are optional parameters, but they can actually not be specified this way. Maybe, we should switch the documentation to something like this output(name, pin, \* optional high_command *\ "on", \* optional low_command *\ "off") ... maybe without the "optional" keyword?