Hello everyone,
I have a whole bunch of entities for which it is forbidden to set the entity via yaml (e.g. MQTT entities).
Rather than going through all of them 1 by 1, I was wondering if it is possible to set their area via python script?
All of these entities have their area in their entity_id anyway, so it is easy to find them in the UI, but it is a pain to set them all via the UI.
I thought that a script would solve this in milliseconds but I am not sure if HA allows this and if so, how it is done.
Thank you all once again for your support!
Alex
3 posts - 2 participants