Alexa is connected to HA via Nabu Casa, and HA is connected to Smart Life using the standard Tuya integration. I have many scenes in Smart Life that are commands for an IR blaster; Alexa routines use the scenes to lmplement voice commands e.g. “Alexa, TV to ALIBI” tells the TV to switch to HDMI1 and the Sky box to select channel 132. HA simply passes the scenes through.
All works fine until I reboot HA, then the actions that use the Smart Life scenes have all been deleted from the Alexa routines. Alexa still has the routines and the scenes, but the actions are missing; I have to reinsert them by hand into the routines. Rebuiilding Alexa routines every time I reboot HA is not acceptable. How do I avoid “breaking” by Alexa routines when HA restarts?