Comments (5)
hi there, to reproduce the problem i wanted to create a weather entity from national weather service. upon creation, the entity is unavailable
. can you post the data you see in your developer tools for weather.klnk_daynight
?
from clock-weather-card.
I am seeing the same issue with the same error being logged regarding the weather entity not supporting daily forecasts. This was working with 2.1.3 and broke after upgrading to 2.1.6. Here are the attributes from my weather entity:
temperature: 32
temperature_unit: °F
humidity: 86
pressure: 29.93
pressure_unit: inHg
wind_bearing: 30
wind_speed: 10.29
wind_speed_unit: mph
visibility: 10
visibility_unit: mi
precipitation_unit: in
forecast:
- detailed_description: >-
A chance of rain and snow showers after 2pm. Cloudy, with a high near 35.
Northeast wind 10 to 15 mph. Chance of precipitation is 30%.
datetime: '2023-12-01T07:00:00-06:00'
precipitation_probability: 30
is_daytime: true
condition: snowy
wind_bearing: 45
temperature: 35
dew_point: 31
wind_speed: 12.5
humidity: 92
- detailed_description: >-
Snow showers likely before 4am. Cloudy, with a low around 32. Northeast wind
5 to 10 mph. Chance of precipitation is 60%. Little or no snow accumulation
expected.
datetime: '2023-12-01T18:00:00-06:00'
precipitation_probability: 60
is_daytime: false
condition: snowy
wind_bearing: 45
temperature: 32
dew_point: 32
wind_speed: 7.5
humidity: 100
- detailed_description: Cloudy, with a high near 37. Northeast wind 5 to 10 mph.
datetime: '2023-12-02T06:00:00-06:00'
precipitation_probability: 0
is_daytime: true
condition: cloudy
wind_bearing: 45
temperature: 37
dew_point: 34
wind_speed: 7.5
humidity: 100
- detailed_description: >-
A chance of rain between midnight and 3am, then a chance of rain and snow.
Cloudy, with a low around 34. East wind around 5 mph. Chance of
precipitation is 50%. New rainfall amounts less than a tenth of an inch
possible.
datetime: '2023-12-02T18:00:00-06:00'
precipitation_probability: 50
is_daytime: false
condition: snowy
wind_bearing: 90
temperature: 34
dew_point: 35
wind_speed: 5
humidity: 100
- detailed_description: >-
Rain and snow likely. Cloudy, with a high near 36. Northeast wind 5 to 10
mph. Chance of precipitation is 70%. New rainfall amounts between a tenth
and quarter of an inch possible.
datetime: '2023-12-03T06:00:00-06:00'
precipitation_probability: 70
is_daytime: true
condition: snowy
wind_bearing: 45
temperature: 36
dew_point: 36
wind_speed: 7.5
humidity: 100
- detailed_description: >-
A slight chance of rain and snow before midnight. Mostly cloudy, with a low
around 26. Northwest wind around 10 mph. Chance of precipitation is 20%.
datetime: '2023-12-03T18:00:00-06:00'
precipitation_probability: 20
is_daytime: false
condition: snowy
wind_bearing: 315
temperature: 26
dew_point: 33
wind_speed: 10
humidity: 100
- detailed_description: Partly sunny, with a high near 36. West wind around 10 mph.
datetime: '2023-12-04T06:00:00-06:00'
precipitation_probability: 0
is_daytime: true
condition: cloudy
wind_bearing: 270
temperature: 36
dew_point: 30
wind_speed: 10
humidity: 96
- detailed_description: >-
A chance of rain and snow. Mostly cloudy, with a low around 28. Southwest
wind 5 to 10 mph. Chance of precipitation is 40%. New snow accumulation of
less than half an inch possible.
datetime: '2023-12-04T18:00:00-06:00'
precipitation_probability: 40
is_daytime: false
condition: snowy
wind_bearing: 225
temperature: 28
dew_point: 31
wind_speed: 7.5
humidity: 100
- detailed_description: >-
A chance of rain and snow. Mostly cloudy, with a high near 35. Chance of
precipitation is 30%.
datetime: '2023-12-05T06:00:00-06:00'
precipitation_probability: 30
is_daytime: true
condition: snowy
wind_bearing: 315
temperature: 35
dew_point: 32
wind_speed: 12.5
humidity: 100
- detailed_description: Mostly cloudy, with a low around 25.
datetime: '2023-12-05T18:00:00-06:00'
precipitation_probability: 0
is_daytime: false
condition: cloudy
wind_bearing: 0
temperature: 25
dew_point: 31
wind_speed: 12.5
humidity: 96
- detailed_description: Partly sunny, with a high near 35.
datetime: '2023-12-06T06:00:00-06:00'
precipitation_probability: 0
is_daytime: true
condition: cloudy
wind_bearing: 270
temperature: 35
dew_point: 28
wind_speed: 10
humidity: 92
- detailed_description: >-
A slight chance of snow before midnight. Mostly cloudy, with a low around
29. Chance of precipitation is 20%.
datetime: '2023-12-06T18:00:00-06:00'
precipitation_probability: 20
is_daytime: false
condition: snowy
wind_bearing: 225
temperature: 29
dew_point: 29
wind_speed: 12.5
humidity: 88
- detailed_description: Partly sunny, with a high near 41.
datetime: '2023-12-07T06:00:00-06:00'
precipitation_probability: 0
is_daytime: true
condition: cloudy
wind_bearing: 225
temperature: 41
dew_point: 34
wind_speed: 15
humidity: 92
- detailed_description: Mostly cloudy, with a low around 31.
datetime: '2023-12-07T18:00:00-06:00'
precipitation_probability: 0
is_daytime: false
condition: cloudy
wind_bearing: 270
temperature: 31
dew_point: 33
wind_speed: 12.5
humidity: 92
attribution: Data from National Weather Service/NOAA
friendly_name: KETB Daynight
supported_features: 6
from clock-weather-card.
can you please update to 2.1.8? this should fix the problem. at least i am not able to reproduce the issue with this version anymore
from clock-weather-card.
can you please update to 2.1.8? this should fix the problem. at least i am not able to reproduce the issue with this version anymore
Done - and this is fixed now. Thanks for the quick fix!
from clock-weather-card.
In a separate Home Assistant install I am still getting the same error and the forecast is not rendering after updating to 2.1.8. In this case, the weather entity is set via the HA API, but is otherwise the same NWS weather object. This also worked just fine on 2.1.3. Below I'm including the attributes first from weather.kimt_daynight, then from weather.custom_location which is set to the value of the first via the API. They should be identical, but using weather.custom_location in the clock weather card no longer works.
temperature: 35
temperature_unit: °F
humidity: 54
pressure: 30.07
pressure_unit: inHg
wind_bearing: 110
wind_speed: 3.36
wind_speed_unit: mph
visibility: 10
visibility_unit: mi
precipitation_unit: in
forecast:
- detailed_description: >-
Partly sunny. High near 35, with temperatures falling to around 30 in the
afternoon. East southeast wind around 3 mph.
datetime: '2023-12-02T14:00:00-06:00'
precipitation_probability: 0
is_daytime: true
condition: cloudy
wind_bearing: 112.5
temperature: 35
dew_point: 24
wind_speed: 3
humidity: 78
- detailed_description: Mostly cloudy, with a low around 25. East northeast wind around 5 mph.
datetime: '2023-12-02T18:00:00-06:00'
precipitation_probability: 0
is_daytime: false
condition: cloudy
wind_bearing: 67.5
temperature: 25
dew_point: 27
wind_speed: 5
humidity: 100
- detailed_description: >-
A chance of snow before 5pm. Cloudy. High near 32, with temperatures falling
to around 30 in the afternoon. North northeast wind 5 to 8 mph. Chance of
precipitation is 50%. New snow accumulation of less than one inch possible.
datetime: '2023-12-03T06:00:00-06:00'
precipitation_probability: 50
is_daytime: true
condition: snowy
wind_bearing: 22.5
temperature: 32
dew_point: 28
wind_speed: 6.5
humidity: 96
- detailed_description: Mostly cloudy, with a low around 22. North northwest wind around 5 mph.
datetime: '2023-12-03T18:00:00-06:00'
precipitation_probability: 0
is_daytime: false
condition: cloudy
wind_bearing: 337.5
temperature: 22
dew_point: 26
wind_speed: 5
humidity: 100
- detailed_description: Mostly sunny, with a high near 37. West wind around 6 mph.
datetime: '2023-12-04T06:00:00-06:00'
precipitation_probability: 0
is_daytime: true
condition: partlycloudy
wind_bearing: 270
temperature: 37
dew_point: 24
wind_speed: 6
humidity: 98
- detailed_description: >-
A chance of snow showers. Mostly cloudy, with a low around 23. Chance of
precipitation is 30%.
datetime: '2023-12-04T18:00:00-06:00'
precipitation_probability: 30
is_daytime: false
condition: snowy
wind_bearing: 135
temperature: 23
dew_point: 25
wind_speed: 6
humidity: 100
- detailed_description: Mostly cloudy, with a high near 37.
datetime: '2023-12-05T06:00:00-06:00'
precipitation_probability: 0
is_daytime: true
condition: cloudy
wind_bearing: 0
temperature: 37
dew_point: 28
wind_speed: 8
humidity: 98
- detailed_description: Mostly cloudy, with a low around 23.
datetime: '2023-12-05T18:00:00-06:00'
precipitation_probability: 0
is_daytime: false
condition: cloudy
wind_bearing: 315
temperature: 23
dew_point: 26
wind_speed: 9
humidity: 94
- detailed_description: >-
A slight chance of snow showers after noon. Mostly cloudy, with a high near
36.
datetime: '2023-12-06T06:00:00-06:00'
precipitation_probability: 0
is_daytime: true
condition: snowy
wind_bearing: 247.5
temperature: 36
dew_point: 25
wind_speed: 10
humidity: 93
- detailed_description: >-
A slight chance of snow showers before midnight. Mostly cloudy, with a low
around 26.
datetime: '2023-12-06T18:00:00-06:00'
precipitation_probability: 0
is_daytime: false
condition: snowy
wind_bearing: 202.5
temperature: 26
dew_point: 28
wind_speed: 12
humidity: 97
- detailed_description: Partly sunny, with a high near 41.
datetime: '2023-12-07T06:00:00-06:00'
precipitation_probability: 0
is_daytime: true
condition: cloudy
wind_bearing: 180
temperature: 41
dew_point: 32
wind_speed: 9
humidity: 96
- detailed_description: Mostly cloudy, with a low around 28.
datetime: '2023-12-07T18:00:00-06:00'
precipitation_probability: 0
is_daytime: false
condition: cloudy
wind_bearing: 225
temperature: 28
dew_point: 31
wind_speed: 10
humidity: 100
- detailed_description: Mostly cloudy, with a high near 41.
datetime: '2023-12-08T06:00:00-06:00'
precipitation_probability: 0
is_daytime: true
condition: cloudy
wind_bearing: 270
temperature: 41
dew_point: 36
wind_speed: 12
humidity: 100
- detailed_description: A slight chance of rain showers. Mostly cloudy, with a low around 28.
datetime: '2023-12-08T18:00:00-06:00'
precipitation_probability: 0
is_daytime: false
condition: rainy
wind_bearing: 315
temperature: 28
dew_point: 33
wind_speed: 13
humidity: 100
attribution: Data from National Weather Service/NOAA
friendly_name: KIMT Daynight
supported_features: 6
temperature: 35
temperature_unit: °F
humidity: 54
pressure: 30.07
pressure_unit: inHg
wind_bearing: 110
wind_speed: 3.36
wind_speed_unit: mph
visibility: 10
visibility_unit: mi
precipitation_unit: in
forecast:
- detailed_description: >-
Partly sunny. High near 35, with temperatures falling to around 30 in the
afternoon. East southeast wind around 3 mph.
datetime: '2023-12-02T14:00:00-06:00'
precipitation_probability: 0
is_daytime: true
condition: cloudy
wind_bearing: 112.5
temperature: 35
dew_point: 24
wind_speed: 3
humidity: 78
- detailed_description: Mostly cloudy, with a low around 25. East northeast wind around 5 mph.
datetime: '2023-12-02T18:00:00-06:00'
precipitation_probability: 0
is_daytime: false
condition: cloudy
wind_bearing: 67.5
temperature: 25
dew_point: 27
wind_speed: 5
humidity: 100
- detailed_description: >-
A chance of snow before 5pm. Cloudy. High near 32, with temperatures falling
to around 30 in the afternoon. North northeast wind 5 to 8 mph. Chance of
precipitation is 50%. New snow accumulation of less than one inch possible.
datetime: '2023-12-03T06:00:00-06:00'
precipitation_probability: 50
is_daytime: true
condition: snowy
wind_bearing: 22.5
temperature: 32
dew_point: 28
wind_speed: 6.5
humidity: 96
- detailed_description: Mostly cloudy, with a low around 22. North northwest wind around 5 mph.
datetime: '2023-12-03T18:00:00-06:00'
precipitation_probability: 0
is_daytime: false
condition: cloudy
wind_bearing: 337.5
temperature: 22
dew_point: 26
wind_speed: 5
humidity: 100
- detailed_description: Mostly sunny, with a high near 37. West wind around 6 mph.
datetime: '2023-12-04T06:00:00-06:00'
precipitation_probability: 0
is_daytime: true
condition: partlycloudy
wind_bearing: 270
temperature: 37
dew_point: 24
wind_speed: 6
humidity: 98
- detailed_description: >-
A chance of snow showers. Mostly cloudy, with a low around 23. Chance of
precipitation is 30%.
datetime: '2023-12-04T18:00:00-06:00'
precipitation_probability: 30
is_daytime: false
condition: snowy
wind_bearing: 135
temperature: 23
dew_point: 25
wind_speed: 6
humidity: 100
- detailed_description: Mostly cloudy, with a high near 37.
datetime: '2023-12-05T06:00:00-06:00'
precipitation_probability: 0
is_daytime: true
condition: cloudy
wind_bearing: 0
temperature: 37
dew_point: 28
wind_speed: 8
humidity: 98
- detailed_description: Mostly cloudy, with a low around 23.
datetime: '2023-12-05T18:00:00-06:00'
precipitation_probability: 0
is_daytime: false
condition: cloudy
wind_bearing: 315
temperature: 23
dew_point: 26
wind_speed: 9
humidity: 94
- detailed_description: >-
A slight chance of snow showers after noon. Mostly cloudy, with a high near
36.
datetime: '2023-12-06T06:00:00-06:00'
precipitation_probability: 0
is_daytime: true
condition: snowy
wind_bearing: 247.5
temperature: 36
dew_point: 25
wind_speed: 10
humidity: 93
- detailed_description: >-
A slight chance of snow showers before midnight. Mostly cloudy, with a low
around 26.
datetime: '2023-12-06T18:00:00-06:00'
precipitation_probability: 0
is_daytime: false
condition: snowy
wind_bearing: 202.5
temperature: 26
dew_point: 28
wind_speed: 12
humidity: 97
- detailed_description: Partly sunny, with a high near 41.
datetime: '2023-12-07T06:00:00-06:00'
precipitation_probability: 0
is_daytime: true
condition: cloudy
wind_bearing: 180
temperature: 41
dew_point: 32
wind_speed: 9
humidity: 96
- detailed_description: Mostly cloudy, with a low around 28.
datetime: '2023-12-07T18:00:00-06:00'
precipitation_probability: 0
is_daytime: false
condition: cloudy
wind_bearing: 225
temperature: 28
dew_point: 31
wind_speed: 10
humidity: 100
- detailed_description: Mostly cloudy, with a high near 41.
datetime: '2023-12-08T06:00:00-06:00'
precipitation_probability: 0
is_daytime: true
condition: cloudy
wind_bearing: 270
temperature: 41
dew_point: 36
wind_speed: 12
humidity: 100
- detailed_description: A slight chance of rain showers. Mostly cloudy, with a low around 28.
datetime: '2023-12-08T18:00:00-06:00'
precipitation_probability: 0
is_daytime: false
condition: rainy
wind_bearing: 315
temperature: 28
dew_point: 33
wind_speed: 13
humidity: 100
attribution: Data from National Weather Service/NOAA
friendly_name: KIMT Daynight
supported_features: 6
from clock-weather-card.
Related Issues (20)
- Humidity from attribute HOT 3
- Auto Conversion to C when set to F HOT 7
- After update i cant change text size by style tag HOT 2
- Chinese display issue
- Last update causes animated_icon true cause high cpu load HOT 1
- Feature request: Ability to show temperature with 1 decimal place HOT 1
- Feature request: Be able to show "feels like" temperature from second temp sensor
- Add the possibility to customize text/icons size. HOT 2
- Allow hiding duplicate temperature value in hourly forecast view
- Use SVG for non-animated icons HOT 4
- Don't round forecast temperature
- Cs and Sk translation feeling temperature or apparent temperature HOT 2
- Forecast rows missing after update. HOT 6
- sv.json
- Request: Add a weather summary section
- Four digit time breaks out of container on mobile devices HOT 1
- Unable to use on levono smart clock HOT 2
- Issue on installation HOT 2
- Animated icon on forecast section ? HOT 1
- Weather picture is getting too big after upgrading from 2.5.0 to 2.6.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clock-weather-card.