You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To anyone interested in adding this: there is a UUID validation function in utils.py already. You would need to add a parameter to the rule function and run that through the validator, accounting of course for it not being supplied or an invalid value being supplied.
I can add this but I don’t know when I will have time right now, but if someone submits a PR tested on OH2 and OH3 then I can pop over and approve it.
I just got started with Python in general and Jython rules in the specific - so it might take some time until I feel comfortable enough with the Helper-Libraries to contribute. But I'm not saying no 😅
But I would also not be sad if someone else solves that issue in the meantime 😁
The text was updated successfully, but these errors were encountered:
As posted in openHAB's community forum, I would like an option to replace the random auto-generated rule IDs with custom IDs defined by the user.
According to @CrazyIvan359 that should be possible (forum):
I just got started with Python in general and Jython rules in the specific - so it might take some time until I feel comfortable enough with the Helper-Libraries to contribute. But I'm not saying no 😅
But I would also not be sad if someone else solves that issue in the meantime 😁
The text was updated successfully, but these errors were encountered: