Still new to HA and just when I think I start to understand it something I do goes wrong.
Latest thing is this, I am using the Lovelace UI and have just added the weather forecast card using darksky.
I then started looking around for some cleaner nice looking cards and found this one:
https://github.com/kalkih/simple-weather-card
I downloaded the Js file to my www folder
added reference inside lovelace:
resources:
- url: /local/simple-weather-card.bundle.js?v=0.3.0
type: module
then I used the example usage to start with but with Darksky as thats what I have installed.
- type: custom:simple-weather-card
entity: weather.darksky
name: in current location
My full lovelace UI file is:
title: HOME
resources:
- url: /local/simple-weather-card.bundle.js?v=0.3.0
type: module
views:
- title: Full Home
icon: mdi:home-outline
cards:
- type: weather-forecast
entity: weather.dark_sky
- type: custom:simple-weather-card
entity: weather.darksky
name: in current location
- type: glance
title: Sonos
show_name: false
show_state: false
#columns: 5
entities:
- media_player.living_room
- media_player.kitchen
- media_player.bedroom
# name: Lounge Sonos
# icon: mdi:itunes
# tap_action:
# action: toggle
I know this view should give me two weather cards, was going to have a play then maybe remove one / move it to a different screen but at the moment it doesnt load the simple card at all.
If I # out the card code though it shows weather-forecast then under that it shows a glance card for sonos.
If I use the above code it puts weather-forecast NEXT to sonos, as if it knows there should be another card somewhere, but nothing is displayed.
I also added
frontend:
javascript_version: latest
as that was mentioned in the help.
Cannot see any errors? Any thoughts? I know its something daft.