Hi,
I try to make the change of a mobile phone much easier even when I sometimes change it only for a short time.
For this I created an input_text which comtains the name of my currently used phone.
(I know, I could use the source attribute from the person entity as well and create a sensor instead )
Then I can change all notification services to this:
Yes, I thought about that too but if I have two possible active phones, both would have the same alias in the companion app right? Wouldânt that cause issues? The next thing is the device tracker. This one is created out of the phones name. I think it will not work at least in HA.
I think, that could be improved in HA. It is possible to add more devices to a person. But it should be possible, to mark only one device as active for notification, tracking etc.
Yes, thanks. But that part is already solved and works.
I may have to redesign the template sensor totally.
But pls forward that issue to the devs. It should be possible to have more than one device and mark which of them is relevant for different services like notifications, tracking, sensors etc.
Even when you get a new device after 3 years you always have to mofify yaml code in order to process the change.
That works.
Now I have to look into lovelace.
There must be a way to make the display of entities like battery level, battery health etc flexible without creating template sensors. Letâs see
PS: Ok, creating new template sensors was the easy way.
Now I just have to enter the handy name, I want to be responsible for automations, notification,tracking and to be displayed in lovelace into my input_text and I assign it to the person entity and everythingâs work.
Maybe later, I get rid of the input_text and use the source of the person entity but as long as I notice that additional devices automaticallĂœ added to a person, I let that as it is. The important thing is, that I donât have to modify yaml when exchanging my mobiles.
But to say it again: A standard functionality implemented in HA would be better and saves a lot of template sensors.