WTH can’t template entities be made in UI

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.

Even without an AI but just giving some example use cases, like it is in automation creation, would be helpful.

1 Like

It’d be nice if the UI prompted for template strings and showed a preview (similar to Developer Tools » Templates). That’d make creating the helpers so much easier.

6 Likes

It would be nice if /developer-tools/template had a button “make a helper out of it” :smiley:
Or the template helper creation panel would just work the way the developer tools work - because they are awesome :relieved:

22 Likes

Simply having an UI for template with everything cool with it : param in the browser & reload

Typing the template value is good to me :blush:

1 Like

Having simple YAML editor + scratchpad with preview (like Developer Tools → Templates) is sufficient as a first version. It can be developed further later.

6 Likes

A Helper for templates would be awsome!

Adding not just sensors but also include “light” templates.

I find, especially when working with new users, that trying to create template sensors with some basic mathematics is complex, for example adding two sensors together or multiplying a sensor by a constant value.

A UI helper which creates template sensor by combining the values of other sensors would be very useful.

1 Like

For people coming here from search engines, it looks like this was added to the 2023.9 release!

2 Likes