Closed TobiasSchwarz74 closed 1 year ago
Remove the input_speed_unit
and put speed_unit
under windspeed_entities
wind_direction_entity:
entity: sensor.gw1100a_v2_2_3_wind_direction
windspeed_entities:
- entity: sensor.gw1100a_v2_2_3_wind_speed
speed_unit: kph
If it remains blank, please use Chrome and go to View > Developer > Developer tools. Do you see any error?
that was not the problem, but i think i found it:
The problem is "hours_to_show" - if you choose a time range, that is not available in the history, the panel stays empty! The update of HA seems to clear some history data of my weather station, so 4 hours after the update, the panel is woring again (with default 4h setting).
Maybe same issue as #26 then.
If you do a full restart of Home Assistant, does the card go blank again? Any errors in the Developper tools?
In my case the card is not displayed at all:
It is displayed in Editor as blank:
See no errors in Code Inspector. But when I open Editor - only then I see an error:
Found an interesting thing:
Decreased hours_to_show
to 2 hours and got a picture!
It is displayed with a value <= 8:
And probably a reason is that in ~13:10 .. 13:15 interval (about 8 hours ago) the wind_speed entity became unavailable
:
The latest 1.0.1 release fixed "direction is not a number" issue; probably same should be done with a wind speed.
Can you add log_level: DEBUG to your config and post the browsers console output here?
The code:
type: custom:windrose-card
title: Wind direction
wind_direction_entity:
entity: sensor.xxx_gismeteo_wind_bearing
windspeed_entities:
- entity: sensor.xxx_gismeteo_wind_speed
name: Home
hours_to_show: 8
Chrome + Win10.
The card is still not displayed (F5 does not help):
There are no errors in Code Inspector.
In Editor - the card is displayed:
Still no errors in Code Inspector.
With hours_to_show: 9
- a blank card in Editor:
Errors in console:
And still not displayed here:
As for Log, restarted HA with debug logging, will post later.
I think I found the problem. Testing the fix right now.
You don't need to restart HA for card config changes. Also not when you update the card version. Browser cache referesh is sometimes needed.
Version 1.0.2 released.
@aukedejong
Thank you very much, now I can see a card even with hours_to_show: 168
.
But still the card may not be displayed: I will create a separate issue for this then.
Glad this works. I'll close this issue. Thanks.
After updating HA to version 2023.6.1 there is only an empty panel. Using latest windrose card version 1.0.0.