kizniche / Mycodo

An environmental monitoring and regulation system
http://kylegabriel.com/projects/
GNU General Public License v3.0
2.96k stars 494 forks source link

add ability to copy a function #1366

Open silverhawk1983 opened 7 months ago

silverhawk1983 commented 7 months ago

rebuilding complex function ist very time intensive, if you need them more than one time.

a simple copy(duplicate) function for functions would be nice. Like the duplicate button in Inputs . a copy Button that copy the function with all settings and actions used and adds a copy#x behind the name of the new function.

as alternatives a save as button with an Input field for the new name that saves the function with the new name.
a save as template could all so be working in that fashion. but would be surly more complex to implement.