Automations broken after 2023.3.1

Help… i uploaded to 2023.3.1 today and one of my automations stopped working. Looking at the notes i dont see any reason why this would happen.

I drive the automation conditions of any state change for the other automations, this was working fine… now its not.

condition:
  - condition: not
    conditions:
      - condition: state
        entity_id: input_button.add_per_input_box_cup
        state: ""
  - condition: or
    conditions:
      - condition: not
        conditions:
          - condition: state
            entity_id: input_button.add_per_input_box_gal
            state: ""
  - condition: or
    conditions:
      - condition: not
        conditions:
          - condition: state
            entity_id: input_button.morning_chlorine
            state: ""
  - condition: or
    conditions:
      - condition: not
        conditions:
          - condition: state
            entity_id: input_button.afternoon_chlorine
            state: ""

Looks like the state: “” is no longer compatible.

alias: Auto off chlorinator
description: ""
trigger:
  - platform: state
    entity_id:
      - switch.pentair_chlor
    from: "off"
    to: "on"
  - platform: state
    entity_id:
      - input_button.add_per_input_box_cup
  - platform: state
    entity_id:
      - input_button.add_per_input_box_gal
  - platform: state
    entity_id:
      - input_button.morning_chlorine
  - platform: state
    entity_id:
      - input_button.afternoon_chlorine
condition:
  - condition: not
    conditions:
      - condition: state
        entity_id: input_button.add_per_input_box_cup
        state: ""
  - condition: or
    conditions:
      - condition: not
        conditions:
          - condition: state
            entity_id: input_button.add_per_input_box_gal
            state: ""
  - condition: or
    conditions:
      - condition: not
        conditions:
          - condition: state
            entity_id: input_button.morning_chlorine
            state: ""
  - condition: or
    conditions:
      - condition: not
        conditions:
          - condition: state
            entity_id: input_button.afternoon_chlorine
            state: ""
action:
  - service: switch.turn_off
    data: {}
    target:
      entity_id: switch.pentair_chlor
mode: single

The conditions are not working now. The ‘not’ condition allows for any deliberate actions to control a pump, but any manual switch manipulation will automatically turn off the pump. This is working fine before the upgrade to 2023.3.1

ANy help is greatly appreciated

Logs? Traces?

just updating again as i downgraded to confirm all was working prior to the upgrade, ill run a trace once back up and running

{
  "trace": {
    "last_step": "action/0",
    "run_id": "0adb02a7da21dc7a5f97d7768bc19d75",
    "state": "stopped",
    "script_execution": "finished",
    "timestamp": {
      "start": "2023-03-03T04:56:27.557665+00:00",
      "finish": "2023-03-03T04:56:27.766818+00:00"
    },
    "domain": "automation",
    "item_id": "1659379544981",
    "trigger": "state of switch.pentair_chlor",
    "trace": {
      "trigger/0": [
        {
          "path": "trigger/0",
          "timestamp": "2023-03-03T04:56:27.557755+00:00",
          "changed_variables": {
            "this": {
              "entity_id": "automation.auto_off_chlorinator",
              "state": "on",
              "attributes": {
                "last_triggered": "2023-03-03T04:56:26.071960+00:00",
                "mode": "single",
                "current": 0,
                "id": "1659379544981",
                "friendly_name": "Auto off chlorinator"
              },
              "last_changed": "2023-03-03T04:47:22.324840+00:00",
              "last_updated": "2023-03-03T04:56:26.172201+00:00",
              "context": {
                "id": "01GTJX866PX399PSQWB3R3ER4Y",
                "parent_id": "01GTJX865EW0V3HJ5NT6SWYQEA",
                "user_id": null
              }
            },
            "trigger": {
              "id": "0",
              "idx": "0",
              "alias": null,
              "platform": "state",
              "entity_id": "switch.pentair_chlor",
              "from_state": {
                "entity_id": "switch.pentair_chlor",
                "state": "off",
                "attributes": {
                  "icon": "mdi:water-opacity",
                  "friendly_name": "Pentair: 18-41-CA Chlorinator"
                },
                "last_changed": "2023-03-03T04:56:11.010074+00:00",
                "last_updated": "2023-03-03T04:56:11.010074+00:00",
                "context": {
                  "id": "01GTJX7Q8192AE9TM6KAEJKHRY",
                  "parent_id": "01GTJX7PH3ZZCY2GMV3EKMRWTG",
                  "user_id": null
                }
              },
              "to_state": {
                "entity_id": "switch.pentair_chlor",
                "state": "on",
                "attributes": {
                  "icon": "mdi:water-opacity",
                  "friendly_name": "Pentair: 18-41-CA Chlorinator"
                },
                "last_changed": "2023-03-03T04:56:27.488318+00:00",
                "last_updated": "2023-03-03T04:56:27.488318+00:00",
                "context": {
                  "id": "01GTJX866RAKD59N8R6WATQ6VX",
                  "parent_id": "01GTJX865EW0V3HJ5NT6SWYQEA",
                  "user_id": null
                }
              },
              "for": null,
              "attribute": null,
              "description": "state of switch.pentair_chlor"
            }
          }
        }
      ],
      "condition/0": [
        {
          "path": "condition/0",
          "timestamp": "2023-03-03T04:56:27.557795+00:00",
          "result": {
            "result": true
          }
        }
      ],
      "condition/0/conditions/0": [
        {
          "path": "condition/0/conditions/0",
          "timestamp": "2023-03-03T04:56:27.557838+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "condition/0/conditions/0/entity_id/0": [
        {
          "path": "condition/0/conditions/0/entity_id/0",
          "timestamp": "2023-03-03T04:56:27.557936+00:00",
          "result": {
            "result": false,
            "state": "2023-03-03T04:56:05.818525+00:00",
            "wanted_state": ""
          }
        }
      ],
      "condition/1": [
        {
          "path": "condition/1",
          "timestamp": "2023-03-03T04:56:27.558029+00:00",
          "result": {
            "result": true
          }
        }
      ],
      "condition/1/conditions/0": [
        {
          "path": "condition/1/conditions/0",
          "timestamp": "2023-03-03T04:56:27.558065+00:00",
          "result": {
            "result": true
          }
        }
      ],
      "condition/1/conditions/0/conditions/0": [
        {
          "path": "condition/1/conditions/0/conditions/0",
          "timestamp": "2023-03-03T04:56:27.558098+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "condition/1/conditions/0/conditions/0/entity_id/0": [
        {
          "path": "condition/1/conditions/0/conditions/0/entity_id/0",
          "timestamp": "2023-03-03T04:56:27.558136+00:00",
          "result": {
            "result": false,
            "state": "2023-03-03T04:56:10.007248+00:00",
            "wanted_state": ""
          }
        }
      ],
      "condition/2": [
        {
          "path": "condition/2",
          "timestamp": "2023-03-03T04:56:27.558197+00:00",
          "result": {
            "result": true
          }
        }
      ],
      "condition/2/conditions/0": [
        {
          "path": "condition/2/conditions/0",
          "timestamp": "2023-03-03T04:56:27.558229+00:00",
          "result": {
            "result": true
          }
        }
      ],
      "condition/2/conditions/0/conditions/0": [
        {
          "path": "condition/2/conditions/0/conditions/0",
          "timestamp": "2023-03-03T04:56:27.558260+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "condition/2/conditions/0/conditions/0/entity_id/0": [
        {
          "path": "condition/2/conditions/0/conditions/0/entity_id/0",
          "timestamp": "2023-03-03T04:56:27.558294+00:00",
          "result": {
            "result": false,
            "state": "2023-03-03T04:55:21.618247+00:00",
            "wanted_state": ""
          }
        }
      ],
      "condition/3": [
        {
          "path": "condition/3",
          "timestamp": "2023-03-03T04:56:27.558353+00:00",
          "result": {
            "result": true
          }
        }
      ],
      "condition/3/conditions/0": [
        {
          "path": "condition/3/conditions/0",
          "timestamp": "2023-03-03T04:56:27.558386+00:00",
          "result": {
            "result": true
          }
        }
      ],
      "condition/3/conditions/0/conditions/0": [
        {
          "path": "condition/3/conditions/0/conditions/0",
          "timestamp": "2023-03-03T04:56:27.558417+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "condition/3/conditions/0/conditions/0/entity_id/0": [
        {
          "path": "condition/3/conditions/0/conditions/0/entity_id/0",
          "timestamp": "2023-03-03T04:56:27.558450+00:00",
          "result": {
            "result": false,
            "state": "2023-03-03T04:56:26.055376+00:00",
            "wanted_state": ""
          }
        }
      ],
      "action/0": [
        {
          "path": "action/0",
          "timestamp": "2023-03-03T04:56:27.609865+00:00",
          "changed_variables": {
            "context": {
              "id": "01GTJX87N5CCJ1WSDZHPGCRZ8M",
              "parent_id": "01GTJX866RAKD59N8R6WATQ6VX",
              "user_id": null
            }
          },
          "result": {
            "params": {
              "domain": "switch",
              "service": "turn_off",
              "service_data": {},
              "target": {
                "entity_id": [
                  "switch.pentair_chlor"
                ]
              }
            },
            "running_script": false,
            "limit": 10
          }
        }
      ]
    },
    "config": {
      "id": "1659379544981",
      "alias": "Auto off chlorinator",
      "description": "",
      "trigger": [
        {
          "platform": "state",
          "entity_id": [
            "switch.pentair_chlor"
          ],
          "from": "off",
          "to": "on"
        },
        {
          "platform": "state",
          "entity_id": [
            "input_button.add_per_input_box_cup"
          ]
        },
        {
          "platform": "state",
          "entity_id": [
            "input_button.add_per_input_box_gal"
          ]
        },
        {
          "platform": "state",
          "entity_id": [
            "input_button.morning_chlorine"
          ]
        },
        {
          "platform": "state",
          "entity_id": [
            "input_button.afternoon_chlorine"
          ]
        }
      ],
      "condition": [
        {
          "condition": "not",
          "conditions": [
            {
              "condition": "state",
              "entity_id": "input_button.add_per_input_box_cup",
              "state": ""
            }
          ]
        },
        {
          "condition": "or",
          "conditions": [
            {
              "condition": "not",
              "conditions": [
                {
                  "condition": "state",
                  "entity_id": "input_button.add_per_input_box_gal",
                  "state": ""
                }
              ]
            }
          ]
        },
        {
          "condition": "or",
          "conditions": [
            {
              "condition": "not",
              "conditions": [
                {
                  "condition": "state",
                  "entity_id": "input_button.morning_chlorine",
                  "state": ""
                }
              ]
            }
          ]
        },
        {
          "condition": "or",
          "conditions": [
            {
              "condition": "not",
              "conditions": [
                {
                  "condition": "state",
                  "entity_id": "input_button.afternoon_chlorine",
                  "state": ""
                }
              ]
            }
          ]
        }
      ],
      "action": [
        {
          "service": "switch.turn_off",
          "data": {},
          "target": {
            "entity_id": "switch.pentair_chlor"
          }
        }
      ],
      "mode": "single"
    },
    "blueprint_inputs": null,
    "context": {
      "id": "01GTJX87N5CCJ1WSDZHPGCRZ8M",
      "parent_id": "01GTJX866RAKD59N8R6WATQ6VX",
      "user_id": null
    }
  },
  "logbookEntries": [
    {
      "name": "Auto off chlorinator",
      "message": "triggered by state of switch.pentair_chlor",
      "source": "state of switch.pentair_chlor",
      "entity_id": "automation.auto_off_chlorinator",
      "context_id": "01GTJX87N5CCJ1WSDZHPGCRZ8M",
      "when": 1677819387.559853,
      "domain": "automation"
    },
    {
      "when": 1677819388.102101,
      "state": "off",
      "entity_id": "switch.pentair_chlor",
      "icon": "mdi:water-opacity",
      "context_event_type": "automation_triggered",
      "context_domain": "automation",
      "context_name": "Auto off chlorinator",
      "context_message": "triggered by state of switch.pentair_chlor",
      "context_source": "state of switch.pentair_chlor",
      "context_entity_id": "automation.auto_off_chlorinator"
    }
  ]
}

The way this worked before was if any of the ‘not’ conditions were the trigger, then the auto off would not work. i triggered with one of the conditions and the auto off still worked with the new update

here is a trace when triggered by the first condition in the automations which should not run the automation

{
  "trace": {
    "last_step": "action/0",
    "run_id": "26abe1c9b2e1edf430cb47af8266f1ee",
    "state": "stopped",
    "script_execution": "finished",
    "timestamp": {
      "start": "2023-03-03T05:06:47.301412+00:00",
      "finish": "2023-03-03T05:06:47.508337+00:00"
    },
    "domain": "automation",
    "item_id": "1659379544981",
    "trigger": "state of switch.pentair_chlor",
    "trace": {
      "trigger/0": [
        {
          "path": "trigger/0",
          "timestamp": "2023-03-03T05:06:47.301412+00:00",
          "changed_variables": {
            "this": {
              "entity_id": "automation.auto_off_chlorinator",
              "state": "on",
              "attributes": {
                "last_triggered": "2023-03-03T05:06:45.932642+00:00",
                "mode": "single",
                "current": 0,
                "id": "1659379544981",
                "friendly_name": "Auto off chlorinator"
              },
              "last_changed": "2023-03-03T04:47:22.324840+00:00",
              "last_updated": "2023-03-03T05:06:46.006936+00:00",
              "context": {
                "id": "01GTJXV3HAZJ7QER9RYZ16SBD6",
                "parent_id": "01GTJXV3GJYKRXXC6Q9Q86E15W",
                "user_id": null
              }
            },
            "trigger": {
              "id": "0",
              "idx": "0",
              "alias": null,
              "platform": "state",
              "entity_id": "switch.pentair_chlor",
              "from_state": {
                "entity_id": "switch.pentair_chlor",
                "state": "off",
                "attributes": {
                  "icon": "mdi:water-opacity",
                  "friendly_name": "Pentair: 18-41-CA Chlorinator"
                },
                "last_changed": "2023-03-03T04:56:28.102101+00:00",
                "last_updated": "2023-03-03T04:56:28.102101+00:00",
                "context": {
                  "id": "01GTJX87N5CCJ1WSDZHPGCRZ8M",
                  "parent_id": "01GTJX866RAKD59N8R6WATQ6VX",
                  "user_id": null
                }
              },
              "to_state": {
                "entity_id": "switch.pentair_chlor",
                "state": "on",
                "attributes": {
                  "icon": "mdi:water-opacity",
                  "friendly_name": "Pentair: 18-41-CA Chlorinator"
                },
                "last_changed": "2023-03-03T05:06:47.251695+00:00",
                "last_updated": "2023-03-03T05:06:47.251695+00:00",
                "context": {
                  "id": "01GTJXV3H80GST756MYRGMKY7V",
                  "parent_id": "01GTJXV3GJYKRXXC6Q9Q86E15W",
                  "user_id": null
                }
              },
              "for": null,
              "attribute": null,
              "description": "state of switch.pentair_chlor"
            }
          }
        }
      ],
      "condition/0": [
        {
          "path": "condition/0",
          "timestamp": "2023-03-03T05:06:47.301412+00:00",
          "result": {
            "result": true
          }
        }
      ],
      "condition/0/conditions/0": [
        {
          "path": "condition/0/conditions/0",
          "timestamp": "2023-03-03T05:06:47.302058+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "condition/0/conditions/0/entity_id/0": [
        {
          "path": "condition/0/conditions/0/entity_id/0",
          "timestamp": "2023-03-03T05:06:47.302619+00:00",
          "result": {
            "result": false,
            "state": "2023-03-03T05:06:45.913837+00:00",
            "wanted_state": ""
          }
        }
      ],
      "condition/1": [
        {
          "path": "condition/1",
          "timestamp": "2023-03-03T05:06:47.302735+00:00",
          "result": {
            "result": true
          }
        }
      ],
      "condition/1/conditions/0": [
        {
          "path": "condition/1/conditions/0",
          "timestamp": "2023-03-03T05:06:47.302800+00:00",
          "result": {
            "result": true
          }
        }
      ],
      "condition/1/conditions/0/conditions/0": [
        {
          "path": "condition/1/conditions/0/conditions/0",
          "timestamp": "2023-03-03T05:06:47.302852+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "condition/1/conditions/0/conditions/0/entity_id/0": [
        {
          "path": "condition/1/conditions/0/conditions/0/entity_id/0",
          "timestamp": "2023-03-03T05:06:47.302905+00:00",
          "result": {
            "result": false,
            "state": "2023-03-03T04:56:10.007248+00:00",
            "wanted_state": ""
          }
        }
      ],
      "condition/2": [
        {
          "path": "condition/2",
          "timestamp": "2023-03-03T05:06:47.302979+00:00",
          "result": {
            "result": true
          }
        }
      ],
      "condition/2/conditions/0": [
        {
          "path": "condition/2/conditions/0",
          "timestamp": "2023-03-03T05:06:47.303021+00:00",
          "result": {
            "result": true
          }
        }
      ],
      "condition/2/conditions/0/conditions/0": [
        {
          "path": "condition/2/conditions/0/conditions/0",
          "timestamp": "2023-03-03T05:06:47.303056+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "condition/2/conditions/0/conditions/0/entity_id/0": [
        {
          "path": "condition/2/conditions/0/conditions/0/entity_id/0",
          "timestamp": "2023-03-03T05:06:47.303095+00:00",
          "result": {
            "result": false,
            "state": "2023-03-03T04:55:21.618247+00:00",
            "wanted_state": ""
          }
        }
      ],
      "condition/3": [
        {
          "path": "condition/3",
          "timestamp": "2023-03-03T05:06:47.303164+00:00",
          "result": {
            "result": true
          }
        }
      ],
      "condition/3/conditions/0": [
        {
          "path": "condition/3/conditions/0",
          "timestamp": "2023-03-03T05:06:47.303201+00:00",
          "result": {
            "result": true
          }
        }
      ],
      "condition/3/conditions/0/conditions/0": [
        {
          "path": "condition/3/conditions/0/conditions/0",
          "timestamp": "2023-03-03T05:06:47.303236+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "condition/3/conditions/0/conditions/0/entity_id/0": [
        {
          "path": "condition/3/conditions/0/conditions/0/entity_id/0",
          "timestamp": "2023-03-03T05:06:47.303274+00:00",
          "result": {
            "result": false,
            "state": "2023-03-03T04:56:26.055376+00:00",
            "wanted_state": ""
          }
        }
      ],
      "action/0": [
        {
          "path": "action/0",
          "timestamp": "2023-03-03T05:06:47.359673+00:00",
          "changed_variables": {
            "context": {
              "id": "01GTJXV4W595VE5WNN1W4NC76S",
              "parent_id": "01GTJXV3H80GST756MYRGMKY7V",
              "user_id": null
            }
          },
          "result": {
            "params": {
              "domain": "switch",
              "service": "turn_off",
              "service_data": {},
              "target": {
                "entity_id": [
                  "switch.pentair_chlor"
                ]
              }
            },
            "running_script": false,
            "limit": 10
          }
        }
      ]
    },
    "config": {
      "id": "1659379544981",
      "alias": "Auto off chlorinator",
      "description": "",
      "trigger": [
        {
          "platform": "state",
          "entity_id": [
            "switch.pentair_chlor"
          ],
          "from": "off",
          "to": "on"
        },
        {
          "platform": "state",
          "entity_id": [
            "input_button.add_per_input_box_cup"
          ]
        },
        {
          "platform": "state",
          "entity_id": [
            "input_button.add_per_input_box_gal"
          ]
        },
        {
          "platform": "state",
          "entity_id": [
            "input_button.morning_chlorine"
          ]
        },
        {
          "platform": "state",
          "entity_id": [
            "input_button.afternoon_chlorine"
          ]
        }
      ],
      "condition": [
        {
          "condition": "not",
          "conditions": [
            {
              "condition": "state",
              "entity_id": "input_button.add_per_input_box_cup",
              "state": ""
            }
          ]
        },
        {
          "condition": "or",
          "conditions": [
            {
              "condition": "not",
              "conditions": [
                {
                  "condition": "state",
                  "entity_id": "input_button.add_per_input_box_gal",
                  "state": ""
                }
              ]
            }
          ]
        },
        {
          "condition": "or",
          "conditions": [
            {
              "condition": "not",
              "conditions": [
                {
                  "condition": "state",
                  "entity_id": "input_button.morning_chlorine",
                  "state": ""
                }
              ]
            }
          ]
        },
        {
          "condition": "or",
          "conditions": [
            {
              "condition": "not",
              "conditions": [
                {
                  "condition": "state",
                  "entity_id": "input_button.afternoon_chlorine",
                  "state": ""
                }
              ]
            }
          ]
        }
      ],
      "action": [
        {
          "service": "switch.turn_off",
          "data": {},
          "target": {
            "entity_id": "switch.pentair_chlor"
          }
        }
      ],
      "mode": "single"
    },
    "blueprint_inputs": null,
    "context": {
      "id": "01GTJXV4W595VE5WNN1W4NC76S",
      "parent_id": "01GTJXV3H80GST756MYRGMKY7V",
      "user_id": null
    }
  },
  "logbookEntries": [
    {
      "name": "Auto off chlorinator",
      "message": "triggered by state of switch.pentair_chlor",
      "source": "state of switch.pentair_chlor",
      "entity_id": "automation.auto_off_chlorinator",
      "context_id": "01GTJXV4W595VE5WNN1W4NC76S",
      "when": 1677820007.303391,
      "domain": "automation"
    },
    {
      "when": 1677820007.557568,
      "state": "off",
      "entity_id": "switch.pentair_chlor",
      "icon": "mdi:water-opacity",
      "context_event_type": "automation_triggered",
      "context_domain": "automation",
      "context_name": "Auto off chlorinator",
      "context_message": "triggered by state of switch.pentair_chlor",
      "context_source": "state of switch.pentair_chlor",
      "context_entity_id": "automation.auto_off_chlorinator"
    }
  ]
}

could it be because of what I’ve found on below?