Fix for shelly 1.0.0 and greater