Blockly has truly been a breath of fresh air for me in terms of rule creation. The syntax issues I used to struggle with while writing DSL rules are now a thing of the past. It’s incredible how much time and frustration Blockly has saved me. However, I recently stumbled upon a feature I’m eager to explore further—custom blocks.
I often find myself repeating certain actions in my rules, like logging the start of a rule execution. It would be amazing to create a custom block for this purpose, something akin to a ‘global variable block,’ that I could easily drag and drop into any new rule I create. This would not only save time but also streamline my workflow.
I’m curious if it’s possible to create such custom blocks and store them in a library or a specific section like ‘Logging & Output.’ Additionally, I wonder if these custom blocks can be made available only to me without being shared publicly.
Has anyone else created and used custom blocks in Blockly? I’d love to hear about your experiences and any tips you might have. It would be fantastic to learn how others have optimized their rule creation process using this feature.
The ability to create and reuse custom blocks would take my automation setup to the next level, making it even more efficient and tailored to my specific needs. I’m excited to dive deeper into this and see what possibilities it unlocks.
Happy automating!