I want to create an automation that determines the phone’s position in the flat based on the signal level of beacons. I’ve encountered a problem: I don’t know how to change the area parameter in a mobile_app device type. Could you please help me find answers to the following questions:
- Which parameter in a mobile_app device type contains the area, suggested_area or area_id?
- What method changes this parameter? The documentation at Device registry | Home Assistant Developer Docs only mentions methods for creating and deleting.
- Do I understand correctly that this needs to be done through a service like
python_script
, or is there something like adevice_registry.update
service?