Some nodes: undefined

Hello everybody,

I’ve been working with HA for a month or two now, but I don’t understand why some nodes (in my case only the battery powered ones, like motion- and door sensors) go from status “Complete” to “Undefined”. I’m not quite sure, but I believe it happens after a reboot from my Rpi (model 3 B+). I saw some topics about this, but I can’t figure out why this happens (and to these battery nodes only). But I’ve faced this a several times now.
I’m just starting with home automation so the number of sensors is limited, but I have bigger plans :face_with_raised_eyebrow:. But this is a case I want to understand and solve before I want to move on. I hope someone can help me out? Thank you in advance.