For an optical signaling of a gas leak, it is possible to use a suitable beacon.
Flood detection sensor
Temperature sensor for environment