Automations not showing up in UI

I had a similar issue . That turned out too be an inactive entity. think i had changed a sensor and messed around with the tasmota settings i think i was seeing a duplicate . I restarted ha the automation showed for a few seconds so i was able to see the automations and delete them. After deleting the device from ha i was able to rediscover the device and redo the automations and they showed up properly.