Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore entities followed by a Jinja concatenation operator #89

Open
dummylabs opened this issue May 10, 2023 · 2 comments
Open

Ignore entities followed by a Jinja concatenation operator #89

dummylabs opened this issue May 10, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@dummylabs
Copy link
Owner

Quoted entity names followed by either '+' or '~' operator most probably are only a part of real entity name and should not be added to the report as missing. Example: 'sensor.weather_' ~ location

@dummylabs dummylabs added the enhancement New feature or request label May 10, 2023
@tinuva
Copy link

tinuva commented Jun 19, 2023

+1

I get a similar error on the following piece of automation code. timer.morning_ [missing] morning_routine.yaml

    action:
      - service: light.turn_on
        data_template:
          entity_id: "{{ trigger.event.data.entity_id|replace('timer.morning_', 'light.') }}"
          brightness_pct: 100

@ildar170975
Copy link

ildar170975 commented Jul 23, 2023

Same for
sensor.xxxxx{{....}}

Also, this pattern may be also useful:
sensor.xxxxx[[...]]
it is used in a custom:decluttering-card

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants