Unfortunately what you are wanting to do (basically... turn off X device
when the state of another device changes) cannot be done - at least at
this time. Why GOOGLE/NEST (and for that matter ALEXA, too!) have not
implemented simple IF/THEN based act...