-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Met Office - value needs to have a number #90
Comments
OK so it seems to be down to the fact that the Met Office readings do not include I suppose this is a feature request then rather than a bug, sorry! |
as a suggestion, use something like statistics integration (or the custom average component) to generate the high/low and point the entity in the card to that. Of course this is not a bug with the card but a deficiency in the weather integration you are using. The card can point to ANY entity you want it to BTW. |
Thanks, I am trying to work out (with my limited skills) how I can just pass the temperature readings I do have through a separate entity. It's expecting an index with |
Can you post a screenshot of the states for the weather entities here please. Is it a weather integration you are using or individual sensors? Also post the yaml code for the card config. |
Thanks for getting back to me. I am using the Met Office integration, from the UK. I hope you don't mind, I have redacted my location for privacy. I use the Met Office one as it seems to be the most accurate. As you can see below, the states summary only includes I can of course access the reading(s) with:
I just don't know how to translate that into a new entity or inject STATES
CARD YAML
|
EDIT: so the number error is a result of the code checking for a number in the sensor name, not sure why. I have added a number to the sensor name, but now the card just disappears when I hit save. I have done some testing, and was able to get the following attributes by using the below:
But even if I add in
|
Checklist:
Release with the issue:
1.0.5
Last working release (if known):
N/A
Browser and Operating System:
Windows 10, Firefox 113.0.2
Occurs on all OS, configuration issue with card.
Description of problem:
When trying to configure the weather forecast max/min temperatures, error below is returned.
'entity_forecast_min_1=sensor.met_office_REDACTED_temperature_daily' value needs to have a number
Numerical value is provided by Met Office API, should be displayed as normal. Have tested this with other elements which do display the number correctly, this only appears to be an issue with the min/max on the forecast section.
I have tried to use other readings such as
Met Office Daily
but this returns a different error'entity_forecast_min_1 attribute forecast[1].templow not found
, though this one does arguably make sense if that specific reading is not sent by the API in that way.It would be good if I can either disable the temperatures entirely (when the API doesn't provide the specific information it's looking for) or if there is a possible fix for this.
The text was updated successfully, but these errors were encountered: