title: mutation syntax error : grapgql update string
body: <p>here is my mutation . that was working fine . from yesterday it throw error on  condition key</p>
  <pre><code>condition: &quot;{\&quot;data\&quot;:{\&quot;a\&quot;:{\&quot;source\&quot;:\&quot;ENTITY_STATE\&quot;,\&quot;id\&quot;:\&quot;4b026027-7458-4ba4-9079-f3dd4f16b65b\&quot;}},\&quot;rules\&quot;:{\&quot;==\&quot;:[{\&quot;var\&quot;:\&quot;a.on\&quot;},false]}}&quot;
  </code></pre>
  <p>here is my full mutation :</p>
  <pre><code>mutation {
    rule {
      create(
        input: {
          name: &quot;After every minute ?&quot;
          description: &quot;Will turn on device after every minute&quot;
          triggers: [
            {
              name: &quot;TimeTrigger&quot;
              options: {
                cron: &quot;* * * * 1&quot;
                # time: &quot;after 10 seconds&quot;
              }
            }
          ]
          condition: &quot;{\&quot;data\&quot;:{\&quot;a\&quot;:{\&quot;source\&quot;:\&quot;ENTITY_STATE\&quot;,\&quot;id\&quot;:\&quot;4b026027-7458-4ba4-9079-f3dd4f16b65b\&quot;}},\&quot;rules\&quot;:{\&quot;==\&quot;:[{\&quot;var\&quot;:\&quot;a.on\&quot;},false]}}&quot;
          actions: [
            {
              name: &quot;EntitySetStateAction&quot;
              options: {
                entityId: &quot;4b026027-7458-4ba4-9079-f3dd4f16b65b&quot;
                state: &quot;{\&quot;on\&quot;: true,\&quot;thermostat.mode\&quot;: \&quot;cool\&quot;,\&quot;thermostat.setpoint\&quot;: 20,\&quot;fanSpeed.mode\&quot;: \&quot;high\&quot;}&quot;
                # state: {on: true}
              }
            }
          ]
        }
      ) {
        id
        embedded
        name
        description
        active
        actions {
          options
        } # triggers
        # condition {rulenes data}
        # triggers
      }
    }
  }
  </code></pre>