Тёмный
No video :(

Home Assistant Scripts Hidden Feature! 

SlackerLabs
Подписаться 27 тыс.
Просмотров 16 тыс.
50% 1

Опубликовано:

 

26 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 19   
@wscottfunk
@wscottfunk 5 месяцев назад
Nice tutorial Jeff! I've not really explored scripts very much and primarily use the visual editor for many of my automations but am working on getting more proficient with YAML I'm going to explore scripting a bit more. Thanks!
@PatrickBulteel
@PatrickBulteel 5 месяцев назад
Excellent video as always. Now I need to retweak my scripts.
@jickmagger7323
@jickmagger7323 4 месяца назад
Very helpful subject and very good explained. Thank you!!!
@rodneysmith1750
@rodneysmith1750 5 месяцев назад
Great video today Jeff, thanks for sharing! 😊
@kwantowy_prokrastynator
@kwantowy_prokrastynator 5 месяцев назад
Can you use it to replace tap_action confirmation? E.g. currently I have a button to open the front gate, and a confirmation which triggers a popup "Are you sure?" (with OK/cancel buttons). Instead, I'd like to have 3 choices there: open, open&close, cancel (confirmation only allows for binary logic).
@manliodiana2429
@manliodiana2429 2 месяца назад
Hi i need help, i try to create a time filed to pass to a time condition like this: condition: time after: "{{ time_start }}" before: "{{ time_end }}" but i receve this error: malformed: Invalid time specified: {{ time_start }} for dictionary value @ data['sequence'][0]['if'][0]['after'] @SlackerLabs eny suggestions?
@PatrickDickey52761
@PatrickDickey52761 29 дней назад
Question. If I want three different actions based on conditions, I would create three automations, right? Say action if I'm not home, action 2 if I'm home and it's not quiet hours, and action 3, if I'm home and it is quiet hours.
@PatrickDickey52761
@PatrickDickey52761 29 дней назад
I'll clarify a bit more. I have an automation that turns on my outside lights if motion is sensed. If I'm away, I want to have it send me a notification and turn on the lights. If I'm home and quiet hours, then just turn on the lights. And, if I'm home and not quiet hours, announce over Alexa as well as turn on the lights.
@jickmagger7323
@jickmagger7323 4 месяца назад
Is it possible to run a script with variables from lovelace in order to get a prompt to input the values?
@SlackerLabs
@SlackerLabs 4 месяца назад
Not yet. I'm hoping. That gets added. But you could put an input select near the button on the dashboard and have the script read the value of that input select as the variable. That would give you a work around. Just requires knowing you need to pick one before hitting the button.
@jickmagger7323
@jickmagger7323 4 месяца назад
@@SlackerLabs Is this how you got the window at 0:40 in your video? Is that a lovelace tile card you are using?
@DaveSomething
@DaveSomething 5 месяцев назад
lucky me, I use core, so no editor other than SSH and nano. it's just as fun! /s
@DaveSomething
@DaveSomething 5 месяцев назад
edit: I have what you're showing, but I find myself in CLI editing stuff on occasion.
@SlackerLabs
@SlackerLabs 5 месяцев назад
@@DaveSomething that's more hardcode than me. Haha
@DaveSomething
@DaveSomething 5 месяцев назад
@@SlackerLabs it's been a learning experience, that's for sure
@LosfrogerX
@LosfrogerX 3 месяца назад
The remote connections vs code plugin would work wonders for you
@KeithConley
@KeithConley 5 месяцев назад
Can a field be populated with a list of items and be presented as a dropdown list in the UI?
@SlackerLabs
@SlackerLabs 5 месяцев назад
Not in the script functionality. But you could totally have a input select on a dashboard with the values you need to pass to the script under the script button. And then just have the script reference the current value of the input select for the value of the field.
@KeithConley
@KeithConley 5 месяцев назад
@@SlackerLabs thanks, I'll look into that!
Далее
Build One Script to Rule Them All in home Assistant
11:21
Remote Access to Home Assistant Using Tailscale
4:59
Просмотров 3,4 тыс.
Everything You Need to Automate in Home Assistant
17:24
Switching to Homeassistant (from Hubitat)
24:29
Просмотров 4,1 тыс.
Mastering Home Assistant Templates: A Beginner's Guide
23:56