Weather Card #324
Replies: 11 comments 45 replies
-
Nice work 💪😁 |
Beta Was this translation helpful? Give feedback.
-
And here is a little change I made so that the Feels Like temp reflects the heat index or wind chill depending on which is relevant
|
Beta Was this translation helpful? Give feedback.
-
Interesting! I think weather-card.yaml has a '"' too many in : - service_data: '/local/icons/weather_icons/animated/${entity.state}.svg"' Files under 'icons/weather_icons' are needed as well. In my case some|those seem to be available under /local/community/ha-card-weather-conditions/icons/animated/ - when that card is installed using HACS. |
Beta Was this translation helpful? Give feedback.
-
im trying to get this working. did you add it to your floorplan.yaml or just reference somehow? Not sure what I'm missing here? I did install Weather card from HACS and it works in my overview. are you using this as a pop up or did you use it as a layer in your floorplan svg? |
Beta Was this translation helpful? Give feedback.
-
Hi! Of course I have a question:I looked at your settings in both files and as far as I can tell you were using Pirate Weather and some local Weather add-on.The problem is that most Weather add-ons provide information in the form of the image: or: The question has how to name the elements in SVG and how to later call the entity in the floor plan card? |
Beta Was this translation helpful? Give feedback.
-
I generally do name the SVG element the same as the HA entity so it is clear when I look at the SVG but you don't have to and if you have one enttity affecting multiple elements then you cannot. Yes I made the weather card example to look identical to this custom card to show people that you don't necessarily have to put the effort into making custom cards as ha-floorplan is very flexible.
It doesn't matter what the entitity is called in HA. You can still reference the attributes in the way that I showed. I am not exactly sure what you are asking in your last question. The yaml I provided shows how you could add the attribute value to your floorplan. Just remember that will ONLY update when the STATE of the entity changes. So in this circumstance you might want to find an entity which changes often so you don't get the situation when the attribute changes but the floorplan does not. The entity you choose doesn't have to have anything to do with the weather, you just want the state to change which will fire the state_action rule and update your image. |
Beta Was this translation helpful? Give feedback.
-
Hi OzGav! What to do, it's me again. I think this question will complete my project. ;=)) I'm currently using this file to graphically display the state of the weather: Here are individual pictures of the weather conditions: To be honest, I've been looking at your code and I can't even imagine what's what, so I'd like to ask if you can help me find a solution for this! I have installed several sources of weather data: Currently, the AccuWeather addon gives me the most accurate data, later when I install my weather station, which I bought a while ago, I will use WunderGroundpws to display an image (icon) next to the temperature in the floor plan card.. entities: I don't think you will need it! temperature: 17.5
apparent_temperature: 17.2
dew_point: 3.6
temperature_unit: °C
humidity: 39
cloud_coverage: 30
uv_index: 3
pressure: 1021
pressure_unit: hPa
wind_bearing: 248
wind_gust_speed: 17.3
wind_speed: 14.8
wind_speed_unit: km/h
visibility: 24.1
visibility_unit: km
precipitation_unit: mm
attribution: Data provided by AccuWeather
friendly_name: AccuWeather What should the code look like to correctly show me the image from the entity state? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Just made up a floorplan version of the HA weather card. SVG and yaml are attached. Modify it as you see fit!
weather_card.zip
You will see reference to an input_text in there. I use that to keep the current weather icon in a day or night mode if they are available. Here is the automation for that:
Beta Was this translation helpful? Give feedback.
All reactions