I am new to HA, and when I got mine, the GUI is all I have ever known and used. However, the years of knowledge shared here speak of entities and states, and most of all show YAML that are just confusing to me.
For example:
If I want a family room light (Kasa switches) to come on at 5 pm, if motion (Aqara P2) is detected.
I simply from the GUI:
Device KASA Family Room Light
From that drop-down down I can select turn on or off and other options
Condition:
I select the Aqara P2 in the Family Room
From the drop-down, I can select âdetectedâ, âoccupiedâ, etc.
Time I select from the GUI.
So, the confusion when I see all these videos that say a device has entities and I need to create automation based on the entity or state of the device, I do not see or understand what that means in the GUI.
I do see in the GUI that I could pick entity or device to build an automation. However, it works for me just by picking the device.
State, entity - I donât understand how to create automation in this way. I have many things automated in my home now, just by using the device drop-down selections. Iâve never built one using entity or state based on those drop-down selections in the GUI.
What am I missing or doing wrong?..yet it all still works. Do I need to use entity and state?
Still new at this, so I want to learn the correct way to build automation and not bad habits.
Please advise, thx