Hey guys. Need some advice please.
I have some virtual switches in Hubitat which control IFTTT in order to trigger lights/sockets on/off (SmartLife & eWelink). It works fine (albeit a little slow due to the classic IFTTT cloud responsiveness). The problem I have is if the light/socket gets turned on outside of Hubitat then the virtual switch in Hubitat is still off, and when my RM rule runs to turn the virtual switch off, it seems because it's already off the command doesn't get sent to IFTTT and the device stays on. The virtual switch has to change its state in Hubitat in order to trigger the IFTTT routine.
It seems to me it would be useful if a device in Hubitat which receives a command to change its status should issue that commend through to IFTTT irrespective of its current status. So if its already off and it receives a command to turn off, then still output to IFTTT that the virtual switch has been set to turned off.
Hope it makes sense?
Maybe I'm missing something and there is a better way to manage this situation?