Customising the BOM Weather and lovelace - now in HACS

hmm… I’m sure I updated that yesterday too

ah I see… it’s in the icons folder your one and mine is in the root. I’ll copy the zip to that folder… you’re in my personal repo there, not the card repo…

Ah. That would explain it.

A few people less than loved the new icons… I’m a bit ambivalent myself TBH. Anyway, there is a weather_icons_OLD.zip file where I overwrite the new icons with the old ones. So download that zip if you hate the new ones and overwrite your icons. Don’t forget to refresh cache a few times.
I don’t recommend reverting to the old card otherwise you will eventually update and break it again…

1 Like

Hey @DavidFW1960 I love this card and I’m thinking that since it doesn’t require BOM data to be used, would it not be a good idea to change the name? (obviously just for for the Lovelace card not the data collection side)

It seems others are looking for weather cards that are able to use whatever data source they want but they likely overlook this one because it refers to BOM

maybe… it does have stuff unique to BOM though like UV and Fire Danger… I dunno Dave… opens it up to many more people asking questions etc as well… I will think about it.

can’t those slots just not be used though?

I definitely see your point with this one. It could be a nightmare, at least until more people use it and can answer questions for you

Yes they are optional… just a possible confusion.
I’m happy to tell people they can use the card and the Github now says you can use any data provider as well… less emphasis on BOM… People outside Australia don’t know who/what BOM is anyway.

I’m happy to get some additional views on this if anyone feels strongly about it please chime in…

Just released a new card with option to use old icons. New ones not universally loved eh…
Add this to options to use old icons:

old_icon: 'true'

Version 0.62

Hi David,

Is there a breaking change some where I have missed to cause the icons to disappear?

image

Answering for Dave. Yes. Read upwards a bit.

If you read the post directly above yours you will also see a way to avoid this and keep the existing icons.

The. Post. Directly. Above. Yours.

Let that sink in for a bit before your next post.

Further to what Tom said, it looks like you never downloaded the updated icon file. You need to download and extract that even if you don’t want to use the new icons. (I renamed one of the old icons)
That’s why one of the icons is showing…

Thank.You.Very.Much.Tom - Next time, try not to be such a smart ass. O.K?

Thanks David, all good now.

Do you have to have the old icons zip file as well?

I don’t seem to be able to revert to the old icons by adding the old_icon option. Have done many browser refreshes.

If you grabbed the latest icons file with new and old icons in it that is all you need… can you show your lovelace config for the card? I’m guessing the line is in the wrong place… or it’s not in quotes…

Second from the bottom. I’m on v0.62.

  - apparent_right_margin: 1em
    apparent_right_pos: 1em
    apparent_top_margin: 45px
    current_data_top_margin: 7em
    current_text_alignment: center
    current_text_font_size: 1.5em
    current_text_left_pos: 0em
    current_text_top_margin: 65px
    current_text_width: 100%
    entity_apparent_temp: sensor.bom_hobart_feels_like_c
    entity_current_conditions: sensor.bom_hobart_icon_0
    entity_current_text: sensor.bom_current_text
    entity_daily_summary: sensor.bom_hobart_detailed_summary_0
    entity_daytime_high: sensor.bom_today_max
    entity_fire_danger: sensor.bom_fire_danger
    entity_fire_danger_summary: sensor.bom_fire_danger_summary
    entity_forecast_high_temp_1: sensor.bom_hobart_max_temp_c_1
    entity_forecast_high_temp_2: sensor.bom_hobart_max_temp_c_2
    entity_forecast_high_temp_3: sensor.bom_hobart_max_temp_c_3
    entity_forecast_high_temp_4: sensor.bom_hobart_max_temp_c_4
    entity_forecast_high_temp_5: sensor.bom_hobart_max_temp_c_5
    entity_forecast_icon_1: sensor.bom_hobart_icon_1
    entity_forecast_icon_2: sensor.bom_hobart_icon_2
    entity_forecast_icon_3: sensor.bom_hobart_icon_3
    entity_forecast_icon_4: sensor.bom_hobart_icon_4
    entity_forecast_icon_5: sensor.bom_hobart_icon_5
    entity_forecast_low_temp_1: sensor.bom_hobart_min_temp_c_1
    entity_forecast_low_temp_2: sensor.bom_hobart_min_temp_c_2
    entity_forecast_low_temp_3: sensor.bom_hobart_min_temp_c_3
    entity_forecast_low_temp_4: sensor.bom_hobart_min_temp_c_4
    entity_forecast_low_temp_5: sensor.bom_hobart_min_temp_c_5
    entity_humidity: sensor.bom_hobart_relative_humidity
    entity_pop: sensor.bom_hobart_chance_of_rain_0
    entity_pop_1: sensor.bom_hobart_chance_of_rain_1
    entity_pop_2: sensor.bom_hobart_chance_of_rain_2
    entity_pop_3: sensor.bom_hobart_chance_of_rain_3
    entity_pop_4: sensor.bom_hobart_chance_of_rain_4
    entity_pop_5: sensor.bom_hobart_chance_of_rain_5
    entity_pop_intensity: sensor.bom_hobart_rain_today
    entity_pos_1: sensor.bom_hobart_possible_rainfall_1
    entity_pos_2: sensor.bom_hobart_possible_rainfall_2
    entity_pos_3: sensor.bom_hobart_possible_rainfall_3
    entity_pos_4: sensor.bom_hobart_possible_rainfall_4
    entity_pos_5: sensor.bom_hobart_possible_rainfall_5
    entity_possible_today: sensor.bom_hobart_possible_rainfall_0
    entity_summary_1: sensor.bom_hobart_summary_1
    entity_summary_2: sensor.bom_hobart_summary_2
    entity_summary_3: sensor.bom_hobart_summary_3
    entity_summary_4: sensor.bom_hobart_summary_4
    entity_summary_5: sensor.bom_hobart_summary_5
    entity_sun: sun.sun
    entity_temperature: sensor.bom_hobart_air_temp_c
    entity_uv_alert: sensor.bom_uv_alert
    entity_uv_alert_summary: sensor.bom_uv_alert_summary
    entity_wind_bearing: sensor.bom_hobart_wind_direction
    entity_wind_speed: sensor.bom_hobart_wind_speed_kmh
    large_icon_left_position: 0em
    large_icon_top_margin: '-2.5em'
    locale: en
    old_daily_format: false
    refresh_interval: 60
    separator_top_margin: 6em
    show_beaufort: false
    show_separator: false
    slot_l1: daytime_high
    slot_l2: wind
    slot_l3: pop
    slot_l4: possible_today
    slot_l5: empty
    slot_l6: empty
    slot_r1: sun_next
    slot_r2: sun_following
    slot_r3: uv_summary
    slot_r4: fire_summary
    slot_r5: empty
    slot_r6: empty
    static_icons: false
    style: |
      ha-card {
        border: solid 2px var(--primary-color);
      }
    summary_font_size: 1em
    summary_top_padding: 1em
    sunset: true
    temp_font_size: 4em
    temp_font_weight: 300
    temp_right_pos: 0.85em
    temp_top_margin: '-0.30em'
    temp_uom_right_margin: 7px
    temp_uom_top_margin: '-9px'
    time_format: 12
    title: BOM Weather
    tooltip_bg_color: 'rgb( 75,155,239)'
    tooltip_border_color: 'rgb(255,161,0)'
    tooltip_border_width: 1
    tooltip_caret_size: 5
    tooltip_fg_color: '#fff'
    tooltip_left_offset: -12
    tooltip_width: 110
    tooltips: true
    old_icon: 'true'
    type: 'custom:bom-weather-card'

Can you check you have the latest file js file? Did you use HACS? My personal repo version is different to release version BTW. (I’m running mostly old icons but a few of the new ones) Make sure you have the icons from the repo (should be the same as my personal repo)

1 Like

Yes to HACS install. I’m pretty sure I have your personal icons according to our posts above.

I searched the js file for “old_icon” and got no results. Reinstalled through HACS, did the search again and got multiple hits. One CTRL + F5 later and old icons are back. Very odd the js file didn’t update the first time.