Not sure which way to go as all the other sensors are working and I never added the sensors they were auto discovered through the settings in the config file.
Went into Mi app, held down on the sensor and deleted it and the re-bound it to the app.
Went into HA Configuration (menu) > Entities > Deleted the PIR sensor.
Restarted HA core.
Power cycled Xiaomi hub.
Went back to Configuration (menu) > Entities sensor had not appeared.
I guessing that HA stores the entities in a yaml file maybe and would like to delete it from here maybe this will help.
Why is HA doesn’t like this sensor even though it works happily in the MI app and was working in HA for over 12months.
It has to stored somewhere in HA other than the entity list, the only place I have been able to find so far is in /config/.storage/core.entity_registry
As HA is not 1.0 yet, things are expected to change. Please provide a debug log of the Xiaomi integration and an exact step by step guide on what you are doing to resolve the situation. You can’t expect people to magically fix it for you without gives as much info as you can on the issue
If there is something more specific that will help I would love to include it, I just am limited in knowledge as what to post and where to get it from but I can follow instruction.
Since I deleted the Woodpile PIR sensor from the entities today I notice another one has become unavailable.
Seeing as though the original one that was unavailable happened along time ago and hasn’t come back online since but none of the other sensors have had issues until today when I deleted the woodpile PIR.
I am thinking in terms of lines of code eg there is deletion code which was stopping at the woodpile PIR but now it is gone it moves to the next line of code.