Hi Folks,
I am new to this community and searches for this but have not found anything to solve this issue. I am using the latest version of HA on a raspberry pi 5 with SSD and added my iPhone to the devices, so far so good. My intention was to switch a power outlet based on the iPhone Battery level, I set it up with two triggers, one above 84% and below 60 (for test purpose), the automation also triggers and does what it should but after a few hours if I go to the automation I see that the two triggers and the Battery Level unavailable and it states that the trigger for the battery level is unknown.
While inspecting the yaml of the automation I set the battery level again in editor and looked in yaml, the entity ID changed for the Battery level of my iPhone so this is the reason it is unavailable.
Has somebody else this same behavior and is this a known issue?