Comments (4)
I modified my NodeRed flow to delete the supported_features attribute and now it is working as expected. Thanks!
from clock-weather-card.
hi @phurth, can you please elaborate on your following statement:
in this case, the weather entity is set via the HA API
what do you mean by that? can you clarify?
from clock-weather-card.
Yes, sorry. I have a NodeRed flow set up that allows me to switch between predefined locations (and the related weather forecast). To do this, I have a weather entity set up in configuration.yaml which gets set via the HA API in NodeRed. The flow simply sets the custom location attributes from the JSON payload of the appropriate NWS entity attributes.
Using this weather entity allows me to set the front end up such that it updates automatically if the location is changed by the flow.
With the above, in version 2.1.3 of the card, the forecast displayed as expected. In subsequent versions, it does not.
Thanks in advance, and let me know if you need for specific details.
from clock-weather-card.
okay i see, thanks for the explanation.
the weather entity you are emulating exposes supported_features: 6
. this indicates, that the weather entity does support the new weather.get_forecast
service (https://www.home-assistant.io/integrations/weather/#service-weatherget_forecast). consequently clock-weather-card tries to subscribe to weather updates (which will fail - hence the forecast is not rendered properly).
please try to either
- override
supported_features:6
withsupported_features: 0
- omit the attribute entirely
this way, clock-weather-card will read the forecasts from the forecast
attribute and will not try to subscribe to the weather service
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.