Comments (7)
Yep - even trying to downgrade back to previous version (and clearing cache) doesn't seem to fix it.
from clock-weather-card.
hi there, what is your weather entity set to? daily or hourly?
from clock-weather-card.
from clock-weather-card.
the error message is "weather entity does not support daily forecasts". can you set the entity to to daily then?
from clock-weather-card.
If I change to daily in OpenWeatherMap that integration fails. Setting it back to hourly and it's fine (card still doesn't load though)
from clock-weather-card.
i did some analysis to understand why this issue occurs:
until 2.1.6 clock-weather-card would always try to read first the forecast
attribute available in the weather entity (despite the weather provider supporting the new weather.get_forecast
and only if forecast
was not available, it would use weather.get_forecast
to obtain forecast
s
in order to fix #218 i implemented a change (released with 2.1.6) so that clock-weather-card would rely on supported_features
in the weather entity to either subscribe to forecast updates via weather.get_forecast
or read it from forecast
attribute in the weather entity.
this means that openweathermap is also affected by this change, as it provides the forecast
attribute as part of the weather entity, but additionally supports the weather.get_forecast
subscription. so since 2.1.6 clock-weather-card will try to subscribe to weather.get_forecast
instead of reading it from the forecast
attribute.
and here is the catch:
in the free tier of openweathermap you are only able to subscribe to hourly forecasts. but with the default setup of clock-weather-card
, you want to display the weather daily. so clock-weather-card will try to subscribe to daily updates, which is not supported by openweathermap. this is why you see the error
to fix the issue i will add some logic to make clock-weather-card fall back to hourly forecast subscription in case daily is not supported. i think this should fix your issue.
from clock-weather-card.
Thank you
from clock-weather-card.
Related Issues (20)
- 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
- Background image/picture HOT 3
- Card doesn't display on Lenovo Smart Clock HOT 3
- 12 Hour Time Format not working HOT 3
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.