Hi @DavidFW1960, I must be missing something.
I put the bom icons in \config\www\icons\bom_icons
I put your lovelace card here \config\www\custom_ui\bom-weather-card.js
I included this at the top of my raw config (along with a lot of others that work) :
resources:
- type: js
url: /local/custom_ui/bom-weather-card.js
I’ve added all the sensors (and the automation) and confirmed they are available and give the expected info in the dev tools states menu.
But when I add this Lovelace card it show up empty, as in completely blank.
(it has been alphabetised by HA):
apparent_right_margin: 1em
apparent_right_pos: 1em
apparent_top_margin: 45px
current_data_top_margin: 7em
current_text_font_size: 1.5em
current_text_left_pos: 5em
current_text_top_margin: 39px
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_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_pressure: sensor.bom_hobart_pressure
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_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: '-3.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: pressure
slot_l4: sun_next
slot_r1: empty
slot_r2: pop
slot_r3: humidity
slot_r4: sun_following
static_icons: false
sunset: true
temp_font_size: 4em
temp_font_weight: 300
temp_right_pos: 0.85em
temp_top_margin: '-0.3em'
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
type: 'custom:bom-weather-card'
EDIT: oh yeah I also added your version of the custom component to:
\config\custom_components\bom_forecast
I did this by pasting the contents of your directory over my existing one.
EDIT2: Ah, the web inspector shows the culprit:
TypeError: this._hass.states[this.config.entity_pressure] is undefined
Removing: entity_pressure: sensor.bom_hobart_pressure
has resulted in this:
Just have to sort out why the icons are not showing now.
EDIT3: Ah! \config\www\icons\weather_icons
Almost all sorted. The only thing wrong is that I’m using knots not km/h for the wind speed. I guess I have to edit your bom-weather-card.js for that as I see no options to change it in the dark sky card.