I twice lost all my Homekit automations, which contained a sensor or switch etc. as trigger mapped from HA to Homekit, after updating HA.
It seems that when HA is updated the unique accessory id (AID) generated for Homekit is changed. The sensor etc. mapped from HA appears in Homekit again. However, Homekit considers them as new and for ever reason deletes every automation which contained a sensor etc. mapped from HA to Homekit.
I don‘t know what @bdraco exactly means I must say… I have some simple switches and scripts (and I haven‘t changed their entity id) which I send from HA to Homekit and they got replaced as new entities in Homekit after I updated Home Assisstant. I never had this problem with my Alexa integration through Nabu Casa cloud, it only happens in Homekit.
Ah okay, this could have been the problem. I just checked my last snapshot and I have been on 0.104.2 and I updated to 0.113. I didn’t update for that specific reason, because it happened before.
That’s good news though, I hope it won’t break again now.