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

Integration unable to find an existing entity #224

Open
3 tasks done
zavjah opened this issue Feb 21, 2024 · 2 comments
Open
3 tasks done

Integration unable to find an existing entity #224

zavjah opened this issue Feb 21, 2024 · 2 comments

Comments

@zavjah
Copy link

zavjah commented Feb 21, 2024

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

Within my system log I found this error:

This error originated from a custom integration.

Logger: custom_components.average.sensor
Source: custom_components/average/sensor.py:475
Integration: Average Sensor (documentation, issues)
First occurred: 20:44:28 (8 occurrences)
Last logged: 20:45:00

Unable to find an entity "sensor.gw1100a_v2_2_3_outdoor_temperature"

This relates to those sensors i set up in my configuration.yaml:

  - platform: average
    name: "Average Temperature Today"
    start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
    end: '{{ now() }}'
    entities:
      - sensor.gw1100a_v2_2_3_outdoor_temperature
  - platform: average
    name: "Average Temperature 1 Day Ago"
    duration:
      days: 1
    entities:
      - sensor.gw1100a_v2_2_3_outdoor_temperature
  - platform: average
    name: "Average Temperature last 3 days"
    duration:
      days: 3
    entities:
      - sensor.gw1100a_v2_2_3_outdoor_temperature
  - platform: average
    name: "Average Temperature last 7 days"
    duration:
      days: 7
    entities:
      - sensor.gw1100a_v2_2_3_outdoor_temperature

The sensor used is but existing:
image

and it seems to be working:
image

Why is this error occurring?

Describe the solution you'd like

I'd like the integration to recognize the existing sensor and not report errors although - to the best of my knowledge - working

Describe alternatives you've considered

checked the documentation and configuration.yaml.

Additional context

none

@gieljnssns
Copy link

I'm also seeing this, but only at startup of HA

@zavjah
Copy link
Author

zavjah commented Mar 21, 2024

@gieljnssns : same with me. Can I just ignore it then?

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

No branches or pull requests

2 participants