A grama (Talmudic Aramaic: גרמא) in Halacha (Jewish law) is something that was indirectly[1] caused by something else but which outcome is not guaranteed.
A classic example given to this is of vases that are filled with water and put around a fire in order to extinguish it.
An action which indirectly causes a Shabbat violation due to grama has a lower level of prohibition than an action which violates Shabbat directly.
[3] Based on this, a variety of electrical devices have been developed which violate Shabbat only through grama, and thus can be used in situations of great need, for example in health care or security.
You can help Wikipedia by expanding it.This legal term article is a stub.