YAML & Jinja course Episode 3: Conditionals & Loops (w/Examples)

  Рет қаралды 8,557

Smart Home Junkie

Smart Home Junkie

Күн бұрын

Пікірлер: 58
@SmartHomeJunkie
@SmartHomeJunkie 8 ай бұрын
Hey! Let me know what you think of this episode of the YAML and Jinja course! I'm curious!
@oscargraveland
@oscargraveland 8 ай бұрын
Must be a Dutch thing: 'e' or 'i' 😁
@SmartHomeJunkie
@SmartHomeJunkie 8 ай бұрын
@@oscargraveland theglobalmontessorinetwork.org/resource/primary/pronunciation-i-english/
@chrschra
@chrschra 7 ай бұрын
Very good! Just started with a python developer background with home assistant and I'm asking myself if I should learn node red instead of ha automation or stay in ha until I experience it's limits. How do you think about it? In the end I'd like to log a lot of stuff into influxdb, read it and develop complex actions. Can I skip node red and do all of this with yaml and jinja?
@SmartHomeJunkie
@SmartHomeJunkie 7 ай бұрын
@@chrschra Let's just say that I never needed Node Red.
@major_west
@major_west 8 ай бұрын
I replayed the first two episodes and started taking notes so I can refresh my memory the next time I'm writing a template. Can't stress enough how useful these courses have been! 💚
@SmartHomeJunkie
@SmartHomeJunkie 8 ай бұрын
Thank you for sharing your experience! It's fantastic to know that the courses are making a difference for you.
@AndrehHimself
@AndrehHimself 5 ай бұрын
"some people are complaining that I speak to fast" - laughing while watching it in 2x
@SmartHomeJunkie
@SmartHomeJunkie 5 ай бұрын
🤣🤣🤣
@BartVanLandschoot
@BartVanLandschoot 8 ай бұрын
Excellent video Ed. I wish such a video existed 2 years ago, when I had to figure out all this. Even with basic knowledge of if-then-else and for-next statements, you still need to know how it works in ninja2 templating.Thanks.
@SmartHomeJunkie
@SmartHomeJunkie 8 ай бұрын
Looks like I missed my chance to be your personal coding guru 2 years ago! Better late than never, right?
@david18xx33
@david18xx33 8 ай бұрын
The pace of this video was much better. I did not have to stop it and rewind to make sure I got it. The 1st two videos I had to do that a lot.
@SmartHomeJunkie
@SmartHomeJunkie 8 ай бұрын
Looks like the third time's the charm! No more rewinding for you!
@daveforrester61
@daveforrester61 8 ай бұрын
Another excellent tutorial. I think this one is finally allowing me to understand and use For Loops!
@SmartHomeJunkie
@SmartHomeJunkie 8 ай бұрын
Awesome! Keep practicing and you'll master for loops in no time!
@R2Sweden
@R2Sweden 8 ай бұрын
Thank you, amazingly good! Also; your set up is fantastic with the division into sections and all the information below with references etc. You lead me on the right track right from the start and I can test things in peace afterwards. My stress factor has also leveled off to a comfortable level when I listen. Thanks again for your commitment!!
@SmartHomeJunkie
@SmartHomeJunkie 8 ай бұрын
Looks like I've become your stress-relief guru! Happy to help!
@mikaellume4657
@mikaellume4657 7 ай бұрын
Hey, I am looking every day for the next course, I hope you are going to follow-up your series as your tutorials are greatly done. A pleasure to watch
@SmartHomeJunkie
@SmartHomeJunkie 7 ай бұрын
The next episode is already live for my patrons and sponsors 😉
@sevagjb
@sevagjb 8 ай бұрын
Thank you, Ed. I learned new tricks today The loop is incredibly powerful.
@SmartHomeJunkie
@SmartHomeJunkie 8 ай бұрын
That's awesome! Keep exploring and learning new things!
@shiPham0705
@shiPham0705 8 ай бұрын
thank you for your service. help me a lot to setup my HA for 2 weeks ago !
@SmartHomeJunkie
@SmartHomeJunkie 8 ай бұрын
Thank you for your kind words. I'm grateful for the opportunity to assist you with your HA setup.
@eduardocenteno3769
@eduardocenteno3769 8 ай бұрын
great job. Home assistant is more powerful than I thought
@SmartHomeJunkie
@SmartHomeJunkie 8 ай бұрын
Home Assistant might just take over the world one day with its power! Watch out, Skynet!
@edwaaij4752
@edwaaij4752 8 ай бұрын
Thanks Ed. Another step further. I'm already looking forward to the next video.
@SmartHomeJunkie
@SmartHomeJunkie 8 ай бұрын
It's already finished, but it will take sooner time before I'm going to publish it because others videos come first in the queue.
@R2Sweden
@R2Sweden 8 ай бұрын
Thank you Ed, exelent tutorial!
@SmartHomeJunkie
@SmartHomeJunkie 8 ай бұрын
Your kind words mean a lot, thank you for your support!
@My-noname
@My-noname 8 ай бұрын
Tnx! Good video. As an old sh script ninja, this feels right at home.
@SmartHomeJunkie
@SmartHomeJunkie 8 ай бұрын
Looks like the sh script ninja approves! 😄
@bigsegs
@bigsegs 15 күн бұрын
loving this bootcamp style course, need to be quick on the spacebar and fast on the pen for notes but I love that you dont use 'filler' or anything irrelavant enabling me to stay focused.. also starting to wish I'd done python instead of javascript... getting slightly confused over 'filters, tests and "methods"?' as related to js but im sure ill wrap my head around it.. Thankyou for this!
@SmartHomeJunkie
@SmartHomeJunkie 15 күн бұрын
Thanks. You can choose a slower speed in KZbin in the video settings.
@bigsegs
@bigsegs 15 күн бұрын
No need it keeps me switched on and wide awake 😅
@geoffreycoan
@geoffreycoan 8 ай бұрын
Thanks great video Ed, the pace seemed much better on this lesson. Now if its not a really stupid question, how do you use the Jinja templating code in a HA dashboard? I have used Jinja a bit in custom templates (e.g. calculate house load from solar panel output, import & export kWh, etc) and automations (checking whether today matches a helper entity), and am familiar with the dev template editor as you are using, but how do I put this template code onto a dashboard? At the moment I have had to use a HACS custom HTML card, formatting the contents as a table, but its awful to code & debug like this and I figure there ought to be a native way of doing this. You can’t use template code in any of the entity cards and I don’t really want to create more helper entities just as an intermediary to displaying on a dashboard
@erikwagen1480
@erikwagen1480 8 ай бұрын
Great stuff!
@waltervos8537
@waltervos8537 7 ай бұрын
Duidelijke en weer leerrijke video. Dank je Ed.
@SmartHomeJunkie
@SmartHomeJunkie 7 ай бұрын
Graag gedaan!
@Fadukes
@Fadukes 8 ай бұрын
Very useful programming examples for newbies
@SmartHomeJunkie
@SmartHomeJunkie 8 ай бұрын
Programming can be tricky, but with the right examples, even newbies can become coding pros!
@donstephens6279
@donstephens6279 8 ай бұрын
Loving these. Great job.
@SmartHomeJunkie
@SmartHomeJunkie 8 ай бұрын
Thanks a bunch for the positive feedback! It motivates me to keep creating more content.
@johnhubbard3879
@johnhubbard3879 7 ай бұрын
🤣🤣 I love that you addressed the comment about speaking too fast. Your videos are awesome! I understand the comment, but I just use CC and rewind from time to time. But I did try the speed playback you suggested at .75, but then it sounds like you are drugged 🤣🤣. Also I love the transparency of your bloopers trying to pronounce words in English. I applaud you for doing these tutorials in English as a second language. Keep up the awesome work and look for some Kofi.
@SmartHomeJunkie
@SmartHomeJunkie 7 ай бұрын
Thank you so much for your support 🙏🏻
@bigsegs
@bigsegs 15 күн бұрын
Thanks!
@SmartHomeJunkie
@SmartHomeJunkie 15 күн бұрын
Thank you for your support!
@chrisdixon5241
@chrisdixon5241 8 ай бұрын
Nice video! Incidentally, you can give additional parameters to range to specify the starting value if you don't want to start from 0
@SmartHomeJunkie
@SmartHomeJunkie 8 ай бұрын
Yes, that is correct!
@wwolfram33
@wwolfram33 8 ай бұрын
Thanks again for these!
@SmartHomeJunkie
@SmartHomeJunkie 8 ай бұрын
You're welcome, don't forget to hit that like button for more!
@michaelmeier5619
@michaelmeier5619 2 ай бұрын
Thank you - very helpful video 😊
@SmartHomeJunkie
@SmartHomeJunkie 2 ай бұрын
Thank you for your kind words.
@edwaaij4752
@edwaaij4752 7 ай бұрын
We have been waiting for the continuation of this series for a while now.
@SmartHomeJunkie
@SmartHomeJunkie 7 ай бұрын
Be patient... There are already two new episodes recorded and waiting to be published.
@frankphilips5498
@frankphilips5498 8 ай бұрын
Nice job
@SmartHomeJunkie
@SmartHomeJunkie 8 ай бұрын
Thank you so much!
@joncentel4932
@joncentel4932 8 ай бұрын
👍
@alelopez5191
@alelopez5191 Ай бұрын
nice stuff, thanks
YAML & Jinja Course Episode 4: Scoping and Literals!
9:30
Smart Home Junkie
Рет қаралды 6 М.
번쩍번쩍 거리는 입
0:32
승비니 Seungbini
Рет қаралды 182 МЛН
I'VE MADE A CUTE FLYING LOLLIPOP FOR MY KID #SHORTS
0:48
A Plus School
Рет қаралды 20 МЛН
Air Sigma Girl #sigma
0:32
Jin and Hattie
Рет қаралды 45 МЛН
HTML Templates Instead Of Reactivity | Prime Reacts
12:42
ThePrimeTime
Рет қаралды 116 М.
ChatGPT in Home Assistant for LESS than $0.01 a DAY!!!
19:30
Daniel Barczak
Рет қаралды 3,5 М.
Home Assistant Templating Masterclass (Full Course)
46:18
Smart Home Makers
Рет қаралды 57 М.
YAML & Jinja course Episode 5: Calculations and Date and Time
12:48
Smart Home Junkie
Рет қаралды 7 М.
Xiaomi builds the SU7 in 76 seconds using worlds biggest gigacasting machine
10:40
Yaml and Jinja Course Episode 7:   Creating your own sensors
12:35
Smart Home Junkie
Рет қаралды 11 М.
Create a Pro-Level Dashboard in Home Assistant!
17:40
Smart Home Junkie
Рет қаралды 123 М.
번쩍번쩍 거리는 입
0:32
승비니 Seungbini
Рет қаралды 182 МЛН