#Thank you so much, can you just tell me
1 messages ยท Page 1 of 1 (latest)
I have 9 of them. Do I need to do that 9x?
If you want any of them to start the automation then yes
Ah, cool, they've improved that UI recently, you used to have to do 9 different triggers
Ok, seems to work. It says it is triggered. Not sure where the notificcation should appear
Ah, I think I got it
Where the notification goes depends on the notifier you set up
Yep, I see plenty of them. Just trying to figure out the onet hat is the easiest to setup and something i can send to many different devices
Damn, I am working on this for days, hours today and the rabbit hole gets keeping deeper and deeper..Havent touched YAML yet
YAML is the beating heart of HA ๐
Yeah, I just tought that you can setup things easy with the UI
You can do a lot in the UI, a lot more than you used to be able to do
There's however an awful lot more that's YAML only, and that's likely to remain the case forever
The good news is that it's just structured text
Yeah, I think I will go the File explorer route and then edit my config file from there
You'll want the SSH add-on, either of them
To check your configuration use the command for your install method:
That command is far more capable than the button in the UI, which misses some stuff
Yeah, that's one of them
ok, i have successfully triggered all my sensors. but they are always in an on state now. i tought i had a trigger (virtual button) that turns them all on and off but i dont have it, i did something wrong
You can't turn sensors on or off, they report their state
What sensors (make, model) and how are they integrated?
I have 9 Aqara motion sensors and 1 Aqara smart button. I would need a toggle that sends notifications and when I turn it off, it needs to stop sending notifications. I tried to play with helpers and automations, I have tried to put a toggle but it doesn't work...Sorry, it is still all so confusing to me...
And that'll work if you add the logic to your automation
condition:
- condition: state
entity_id: input_boolean.petunia
state: 'off'
That'll require input_boolean.petunia to be off for the automation to run
There are three sections to an automation:
trigger: When any one of these becomes true the automation starts processing. Only one trigger is ever responsible for starting an automation, if you make aconditionthat checks for more than one having started the automation then the condition can never be true.condition: These are checked after atriggerstarts the processing, and must be true for the automation to continue.action: This is the part that does something, and can also include further conditions.
Will look into that, thank you
I am so lost
And I feel dumb๐
I am cofused with all these automations, booleans, triggers, states etc. I cant seem to manage to make a toggle that turns of notifications
I have the toggle, I tried to follow youutbe videos and this documentations but it is just too much information, tabs, states, conditions etc
You can't rush learning how HA works
trigger:
- platform: state
entity_id: binary_sensor.front_door_contact
to: 'on'
condition:
- condition: state
entity_id: input_boolean.petunia
state: 'off'
action:
- service: notify.whale
data:
message: "The front door just opened"
That's the guts of an automation that will only notify if the boolean is off
I add this in the config yaml under the existing yaml?
Well, no
Use the automation editor
State trigger
State condition
Service call action
Do create the boolean helper first ๐
Please ... actually look at the images there
condition
Not trigger
for the trigger to show states in the dropdown though HA needs to have seen the entity change state ... you can just type on or off
Omg, I am so dumb
OK, under entities, should i put the boolean or all devices (motion sensors)?
I guess the boolean
Hm, based on your YAML example, maybe all the entities?
There are three sections to an automation:
trigger: When any one of these becomes true the automation starts processing. Only one trigger is ever responsible for starting an automation, if you make aconditionthat checks for more than one having started the automation then the condition can never be true.condition: These are checked after atriggerstarts the processing, and must be true for the automation to continue.action: This is the part that does something, and can also include further conditions.
Once more โ๏ธ
Your boolean is a condition, based of of what you said
The motion sensors are all triggers, based off of what you said
You need to read that and understand the difference
Hell, you also need to read the automation docs to understand what you're working with
If you're a more visual person then instead you may want to look at #node-red-archived
That's not easier, just different