No, but you can edit that post above if you want toâŚ
It will make you feel better.
Draw an ascii flag in it or something, or a stick tongue out emoji maybe.
Touche! I also just learnt you can flag your own posts today thanks to you. Have a like - you deserve it
Wow, I see it, but not on every post. There must be some additional rules, it seems.
I generally avoid editing other peoples posts except to put them in the correct category or hide sensitive information.
Feel free to help out with this.
Agreed, I wouldnât feel very comfortable doing that. Iâm surprised that such an ability isnât available to mods and admins only.
Regulars can add the WIKI state to our own posts. Thatâs it.
I missed this. The edit option makes more sense now.
It worked!1!!!1!!
Wrong topic, maybe?
Saw this post from Tom
" You should read this advice about avoiding device ids too: Why and how to avoid device_ids in automations and scripts"
If thatâs the advice why then does the automation editor make it soooo easy to do the wrong thing?
More than that. Itâs a âgreat way to startâ, apparently.
Because the âDâ comes before the âEâ
That REALLY sucs, but thatâs not the worst of itâŚ
You know there are entity_idâs (traditional), but now there are entity_idâs that are connected to Device_idâs that are the different but the same in theory. There are also entry_idâs that have something to do with entity_idâs naming, unique_id, or some mix of the 2. I donât know but I suspect entry_idâs are connected to both flavors or entity_idâs which we are supposed to pretend are only 1 flavor but are not.
Be wary wary careful if itâs an entity_id or an entry_id.
Use names in automations/scripts for device/entity ID.
So why are device_idâs favored? Because the architecture team wants them to be favored.
I think thereâs an FR to not have the device stuff favored and first on the list of options, but I couldnât find it.
Ranting here because this seems to be the direction this thread is headed.
I still canât understand the switch to âfriendlyâ names in automations.
I mean - weâre all used to referring to triggers, conditions and actions. Theyâre even right there in the yaml, but if you post an automation for anyone to use, now your brain needs to map trigger
, condition
and action
to âWhenâ, âAnd ifâ and âThen Doâ respectively.
Itâs confusing enough for those who are used to the Front end matching the code. I honestly doubt itâll help anyone who is just starting out and has been given a yaml file to work with.
I think it was a good âattemptâ to help âbeginnersâ, Howvere they should have kept, the ( Trigger / Condition / Action ) in parentheses , so Beginners learn what it means, instead of trying to âinvent a new formulaâ , which doesnât exist outside HA UI
EDIT: Well itâs actually there, below, i just noticed
However a Trigger can be both When/If, a Condition can also be And IF/When , And it get even worse when people comes to Action ( IF / When )
" If/when " motion is detected , âwhen/ifâ itâs dark outside, i want the the light to turn on, but only âif/Whenâ there is someone home "
âIf/whenâ Someone is Home, i want the light to turn on, âWhen/ifâ motion is detected, and only âif/whenâ itâs dark outside
âIf/whenâ itâs dark outside , i want the light to turn on, âif/whenâ someone is home, And âif/whenâ motion is detected
A Very common Question, which can âvariateâ depending upon peoples mind, and the âpreferencesâ
Device should go in âOther Triggersâ .
Device should go under âRâ, for recycle bin. Itâs one thing to make stuff simplified for beginners (who still wonât read the docs) - itâs another matter entirely when you alienate or confuse most of your existing userbase in order to cater for the lowest denominator.
Iâve said this to myself over the past year - âHA is prioritizing accessibility to my family members who still have no idea how it all works, while at the same time doing its best to complicate stuff for me, the main userâ
Rant over.
It doesnât help that the device concept is extremely fuzzy.
When I select Device to make a trigger in the UI, the first item in the dropdown list is ZHA Toolkit (it comes first because thereâs a symbol at the beginning of the name). Next is Alarmo, which is, I suppose, a virtual device created by an integration. Next we have ArgonOne, which is an add-on, followed by Average Sensor, which is a HACS integration.
You can now create your own devices and put any entities you like into them (Device Tools from HACS).
This is supposed to be easier?
I hate this as well, but as someone that doesnât use the ui very often itâs not horrible. I say that because I have interacted with people that this âplainâ language has helped them get passed that first barrier, so I ill give that slack.
My go to has always been the UI first and foremost. It allows me to gauge how really user friendly HA is while showing me everything on (mostly) a single screen without having to keep track of indentations.
Iâve occasionally been switching to yaml whenever thereâs any duplicate stuff within the automation (copy & paste is much easier there), and the context switch is really jarring, at least to me personally.