If adding a "Siri & Search" automation you visualize the following screen:
then probably it is not enabled "Siri & Search" in the settings.
The procedure for enabling it is very simple:
1. launch the Setting App on you iPhone, scroll down and tap Screentime
2. select Contenut & Privacy Restrictions
3. click on Allowed Apps
4. make sure that Siri & Dictation is on, otherwise enable it to allow Siri to communicate with your iotty Smart Switch