How to add sensor to Area

hello,
i added to configuration file the new item - power switch; can I somehow place that switch to specific Area?

switch:

  • platform: orvibo
    discovery: false
    switches:
    • host: 10.0.1.38
      name: light

thanks

1 Like

Find the entity in your entities list and add it to the area after clicking on the entity.

configuration → entities

@petro
hi, thanks but it doesnt work… it says

This entity (‘switch.light’) does not have a unique ID, therefore its settings cannot be managed from the UI. See the documentation for more detail.

1 Like

Then there’s nothing you can do as that integration does not supply entities with unique_ids

well maybe i can extend config? to make a unique id for it? dont know

Nope, you cannot. It’s not an option for that integration. There’s nothing you can do other than make a feature request to have that integration updated to support unique_ids.

is that a bug and has to be updated ie code has to be updated…?

It’s not a bug, it’s a feature request. The functionality for that integration doesn’t exist, so it needs to be added by adding the code to the integration.

bug = unintended error blocking an exiting feature from working properly
feature request = desired functionality that is missing from a feature

1 Like