Use presense events instead of grains call