When our house was built last year our electrician made one mistake (he claims we told him to do it this way, but whatever). He put two patio sconce lights on the same light switch as two soffit can lights.
The power goes from the switch to the sconce lights (light 1) then on to the can lights (light 2). My can lights are Tuya, so I can control them separately from the switch, but the sconce lights are special edison bulb that I can’t find a smart version of. Is there something, like a shelly, I could put at the sconce light junction box that would allow me to turn off the sconce light with HA while leaving the can light on? Power would only get to the sconce light electrical box when the light switch is turned on. And I still want to be able to turn all the lights on/off with the light switch.