def METHOD_NAME(self, path: str, key: str, value: Any) -> None:
    if key == "Connected" and not value:
        device = Device(obj_path=path)
        self.terminate_all_scripts(device["Address"])
        self.on_device_disconnect(device)