Platinum Weather Card support

Hi all - I have benefited from this support topic when trying to configure the card so thought I would contribute. I am using the card as part of a custom grid view on a Raspberry Pi touchscreen so needed to use card-mod to adjust the margins and text size so it was readable on 40% of a small 7 inch screen. Here’s what I ended up with after going through the code to find the html headers to adjust the CSS for, hope it helps the next person:

   cards:
      - type: vertical-stack
        cards:
          - type: custom:platinum-weather-card
            card_mod:
              style: |
                ha-card {
                  color: black;
                }
                .overview-top {
                   margin-top: 3px;
                   margin-bottom: -25px;
                   padding-right: 25px;
                }
                .slot-section {
                   margin-top: -5px;
                   padding-left: 10px;
                   font-size: 16px;
                }
                .f-extended {
                  font-size: 18px;
                }
                .daily-forecast-horiz-section {
                  font-size: 18px;
                }  
1 Like

Loving this card, but have some issues with the “Slots” section… Why are they listed as “Slot 1, Slot 2” etc and need to be populated from a dropdown list? None of the choices display any data for me. I tried manually entering various entity values that work fine in the Overview section (including also trying to rename Slot1 to “Entity.Temperature”, but it still doesn’t show any data nor return an error.

What’s the best way to fix this? Is there somewhere I need to add a global variable that will connect to the group of related sensors so the dropdowns work?

Otherwise, can I use a sensor entity value instead of choosing from the dropdown?

The slots give you the choice of what you want to “display”, say “Today’s Forecast Max” temperature but to display a “value” for that choice, further down below you have to configure an entity to be used that contains its value, so in this example, “Entity Forecast Max” would be the corresponding configuration where you have to specify the entity that provides the day’s forecast max temperature.

1 Like

Did you ever find out how to make it bigger?

I have a strange problem with the card. I’m using met.no weather provided (but tried also with Open Weather) - I cannot get forecast for next few days. If I put something on the marked fields - card become black.

what is “something”?

If it’s part of weather component - card became black or error that this component is missing requered property.

See item #250 above for why this doesn’t work.
See item #264 for a possible solution

H all,

Got the Platinum Weather Card up and running with the Australian Bureau of Meteorology. All looking good so far.

A couple small issues though. the Date and Time is incorrect. I can only find 1 entity that can provide this: sesnor.date_tim_utc

  1. This provides the incorrect time. Out by the UTC offset of my city, but unable to find how to change that. It is all setup correctly in HA though.
  2. The date is in M/DD/YYYY. How to change it to DD/MM/YYYY?

Hi Peter,

I’m using pretty much the same setup as yours, but I get the correct time/date so I suspect it’s a simple config issue.

In Home Assistant, I had to set my language to ‘English (GB)’ in the user settings (you’ll need to do this for each user).

Above should fix, but if not, check the Platinum Weather Card configuration - under ‘Global Options’ to ensure your time and locale are correct (I’m using 12 hour, AU)

Hi Darren,

Thanks for the reply. Tried setting the language, that didn’t seem to fix anything.

Under Global Options, set it to 12 hour and ‘AU’ as the locale. Still no luck. Now showing 11:31AM when it should be 10:01PM. Date is correct though.

Hi Peter,

My mistake on the time - I have mine set to show the forecast issue time, not the system time - I find this handier to know in my usage.
For the BOM data:
update_time_name_attr: issue_time
update_time_use_attr: true

Thanks, tried adding that and it didn’t work. So just removed the time bit altogether, not a must have and can’t justify spending any more time on it :slight_smile:

1 Like

Curious if I’m missing something. I’m using the Environment Canada integration. Everything is working except the daily section. I see the forecast sensor has hourly and daily data. When I select the sensor in the configuration gui it blanks the card.

Try with tommyjlong/platinum-weather-card: This is a fully customisable weather card for Home Assistant with a graphical configuration.. It’s a fork of original Platinum Card, but fixed to work with current format of weather providers.

1 Like

Not sure what I’m doing wrong here, but I’m not seeing any forecasts

That picture doesn’t show if you have configured any entities in the integration to actually display the weather forecast? If you haven’t - read docs if you have - post configuration


Something like:
card_config_version: 8
custom2_icon: mdi:thermometer-water
custom2_units: C
custom2_value: sensor.ibanga105_dewpoint
custom3_icon: mdi:alert-outline
custom3_value: sensor.northern_rivers_warnings
custom4_icon: mdi:map-marker-radius-outline
custom4_value: sensor.bangalow_now_temp_now
daily_extended_forecast_days: 5
daily_forecast_days: 5
daily_forecast_layout: vertical
entity_apparent_temp: sensor.ibanga105_heat_index
entity_extended: sensor.bangalow_extended_text_0
entity_fire_danger: sensor.fire_danger_and_ban_far_north_coast_danger_level_today
entity_forecast_icon: sensor.bangalow_icon_descriptor_0
entity_forecast_icon_1: sensor.bangalow_icon_descriptor_1
entity_forecast_max: sensor.bangalow_temp_max_0
entity_forecast_max_1: sensor.bangalow_temp_max_1
entity_forecast_min: sensor.bangalow_temp_min_0
entity_forecast_min_1: sensor.bangalow_temp_min_1
entity_humidity: sensor.ibanga105_relative_humidity
entity_pop: sensor.bangalow_rain_chance_0
entity_pop_1: sensor.bangalow_rain_chance_1
entity_pos: weather.bangalow
entity_pos_1: sensor.bangalow_rain_amount_range_1
entity_possible_tomorrow: sensor.bangalow_rain_amount_max_1
entity_pressure: sensor.ibanga105_pressure
entity_rainfall: sensor.ibanga105_precipitation_today
entity_summary: sensor.bangalow_short_text_0
entity_summary_1: sensor.bangalow_short_text_1
entity_sun: sun.sun
entity_temp_following: sensor.bangalow_now_temp_later
entity_temp_following_label: sensor.bangalow_now_later_label
entity_temperature: sensor.ibanga105_temperature
entity_todays_fire_danger: sensor.fire_danger_and_ban_far_north_coast_danger_level_today
entity_todays_uv_forecast: sensor.bangalow_uv_category_0
entity_uv_alert_summary: sensor.bangalow_uv_category_0
entity_visibility: weather.bangalow
entity_wind_bearing: sensor.ibanga105_wind_direction_cardinal
entity_wind_gust: sensor.ibanga105_wind_gust
entity_wind_speed: sensor.ibanga105_wind_speed
extended_use_attr: false
forecast_type: twice_daily
option_color_fire_danger: true
option_locale: Bangalow, NSW, Australia
option_pressure_decimals: 1
option_show_overview_decimals: true
option_show_overview_separator: true
option_static_icons: false
option_time_format: 12hour
option_today_rainfall_decimals: true
option_today_temperature_decimals: true
option_tooltips: true
overview_layout: complete
section_order:
  - overview
  - extended
  - slots
  - daily_forecast
show_section_daily_forecast: true
show_section_extended: false
show_section_overview: false
show_section_slots: false
slot_l1: forecast_min
slot_l2: humidity
slot_l3: pop
slot_l4: rainfall
slot_l5: pressure
slot_l6: temp_following
slot_l7: empty
slot_l8: empty
slot_r1: forecast_max
slot_r2: pressure
slot_r3: possible_today
slot_r4: humidity
slot_r5: uv_summary
slot_r6: possible_tomorrow
slot_r7: empty
slot_r8: empty
text_update_time_prefix: "Next update : "
type: custom:platinum-weather-card
update_time_name_attr: next_issue_time
update_time_use_attr: true

Hello, I just started using and configuring this weather card (with data captured from Wunderground) … and it was working well, but I couldn’t decide which order I wanted the data in. Somewher along with the multiple changes - I seemed to now have a problem with the Icon being displayed… in some conditions.

I understand that the field for the Icon needs to get a text descriptor, that is then mapped onto the icon. But now a number of the descriptors don’t work.
I can go into developer tools and set the entity state manually - so that I can see that the card itslf is working. Using the descritions mapping I found in the excel on Github, I have manually tried all the HASS ones - and fog, lightning, lightning-rainy, partiallycloudy, pouring, sunny are not working. Certainly sunny (my current weather) did work when I first set up the card. I have tried re-downloading the Platnum Weather Card from HACS, I have also resterted Home Assistant - this is not a browser cache issue - as the same problem is across multiple devices

Hi, I’m curious to know, if anyone has managed to get the Daily Forecast Section showing as a Horizontal stack with the daily detailed description (that you see in the vertical stack option). This seems to get dropped if you use the cards default Horizontal stack option.

For the PWC card, in YAML add the line option_tooltips: true (I don’t think this is in the GUI editor) and this should show the detailed description when you hover over a particular day