This would be amazing, perhaps as “helpers”. Simple example would be making a sensor from an attribute.
Having the AI “type what you want” type approach that would auto write the template based on a user writing what they want (eg if this sensor and this sensor is off) would be the icing on the cake.