Help with "String does not match the pattern DEPRECATED"

Hi all,

In the VScode add-on (up to date), I keep getting the same error “String does not match the pattern DEPRECATED” in the blueprint. Note, that the error is not problematic for the blueprint, and any automation calling it run without issue.

I have quite a bit of those input entry, that my VScode looks like a Christmas tree. Here is an example:

  name: Restore Light State
  description: Restore Light state after power outage and/or restart
  domain: automation
  input:
    input_boolean_source:
      name: Light Prescribed State
      selector:
            domain: input_boolean "String does not match the pattern DEPRECATED^"
    light_target:
      name: Light Entity
      selector:
        target:
          entity:
            domain: light
(...)

Does anyone have a solution for it?

Cheers,

Marc

Try this:

input:
  input_boolean_source:
    name: Light Prescribed State
    selector:
      entity:
        filter:
          - domain: 
            - input_boolean

Thanks that did the trick.

1 Like