#bah why is templating so stupid i feel

1 messages ยท Page 1 of 1 (latest)

last totem
#

I would also like to see this, particularly now templates can be reused, feels like time for a blueprints style thing to do templates

iron jay
#

Templating and re-using script logic are different things

torpid dirge
#

exactly! also i'd love to see something where it's more template based in scripts too, so the whole thing can be run through a template instead of having to choose if/else/choose/whatever

iron jay
last totem
#

it didnt before as they werent reusable

iron jay
#

I'm sure a "templates exchange" will become a thing

last totem
#

100%

iron jay
#

Of course, then many people will blindly re-use those and be confused ablobjoy

torpid dirge
last totem
#

is it being actively worked on or is that a nice piece of potentially low hanging fruit for anyone in the community?

last totem
iron jay
last totem
#

I'd like to see a developer envagelist on the team at nabu casa

torpid dirge
last totem
iron jay
#

I've already passed it up to the brain trust

torpid dirge
#

that'll be so good when it's released!

last totem
#

I'm guessing to the nabu casa guys?

iron jay
#

brain trust ... those that make the decisions

#

Which is basically the mods and admins

last totem
#

sorry I mean more like are you my conduit to said trust or can I suggest things directly?

#

I'd like to understand if that is something being actively worked on but I don't want to bother you for updates

iron jay
#

Well... you can't suggest things directly because you're not in that channel ๐Ÿ˜›

#

You can however open feature requests on the forum

#

And it's a simple enough thing (forum category) that there's not really going to be much to update on - it'll either happen or it won't, and if it happens it's about two clicks

last totem
#

oh sorry to be clear I am a programmer thats possibly capable of implementing that, I'm looking to be included in doing the work

#

I got my first PR accepted (only some docker base image stuff) the other day ๐Ÿ™‚

iron jay
#

Well, the starting point is just a forum where people can copy and paste from

#

Which is pretty much what people have today for script/automation blueprints

last totem
#

it might be something for HACS even I guess

#

as that is pretty much just pulling repos and putting files in the right places (oversimplifcation but you get me)

last totem
iron jay
#

I find blueprints largely pointless ๐Ÿ˜›

last totem
#

great for repetition e.g. I have hue dimmers here and I use a blueprint for those

#

I know there is appdaemon stuff but I prefer the blueprints

iron jay
#

HACS apparently already has this under experimental features

last totem
#

ooooh great thanks for the heads up @torpid dirge see above

torpid dirge
#

Oh cool, that's awesome! Thanks for the update!

inland terrace
#

Hmm why do you find blueprints pointless Tinkerer? I find them really useful to avoid having to repeat the same automation logic across multiple automations. Eg. I have one motion lights blueprint that I reference in motion lights automations for 10+ rooms. Makes maintenance and enhancement much more seamless.

#

Full disclosure, these are self-made custom blueprints. Those from the exchange seem too bloated cos they have to cater to all the edge cases. I only use those from Awesome HA cos they really are awesome.

iron jay
#

Because I almost never have near identical requirements in different rooms