fix missing ",", use "state" instead of "relay_value" in dual relay