Lovelace: Simple Weather Card

any ideas on what domain i need to use ??

ta
Lee

either weather.harrisdale or weather.jandakot
If you donā€™t see one of those in dev-tools you might need to make sure you have the latest version, remove the integration and add it back again. It definitely works you just might have an older version of the integration)

Thanks David

mmm seems the simple card is not working with BOM anymore ā€¦
after inspecting the raw HTML i get

<simple-weather-card></simple-weather-card> ==$0

not sure if the weather domain is formatted correctly for the card ā€¦

my Domain (weather.) looks like this

temperature: 21.7
humidity: 51
wind_bearing: SW
wind_speed: 30
attribution: Data provided by the Australian Bureau of Meteorology
forecast:
  - datetime: '2020-11-20T16:00:00Z'
    temperature: 25
    condition: clear-night
    templow: null
    precipitation: 0
    precipitation_probability: 0
  - datetime: '2020-11-21T16:00:00Z'
    temperature: 29
    condition: sunny
    templow: 13
    precipitation: 0
    precipitation_probability: 0
  - datetime: '2020-11-22T16:00:00Z'
    temperature: 35
    condition: sunny
    templow: 16
    precipitation: 0
    precipitation_probability: 0
  - datetime: '2020-11-23T16:00:00Z'
    temperature: 33
    condition: sunny
    templow: 18
    precipitation: 0
    precipitation_probability: 0
  - datetime: '2020-11-24T16:00:00Z'
    temperature: 27
    condition: sunny
    templow: 13
    precipitation: 0
    precipitation_probability: 0
  - datetime: '2020-11-25T16:00:00Z'
    temperature: 25
    condition: sunny
    templow: 12
    precipitation: 0
    precipitation_probability: 0
  - datetime: '2020-11-26T16:00:00Z'
    temperature: 24
    condition: cloudy
    templow: 13
    precipitation: 0
    precipitation_probability: 0
  - datetime: '2020-11-27T16:00:00Z'
    temperature: 27
    condition: sunny
    templow: 13
    precipitation: 0
    precipitation_probability: 20
friendly_name: Harrisdale
icon: 'mdi:weather-night'

is this correct format ?

HA : 0.118.0

Ta

Lee

Mine seems ok.

Hello,

Is it possible to somehow change/replace the icons of this card?
Thanks a lot!

@tismondo:
Is it possible that you send/post your config to get this third row working?
This is it what Iā€™m searching for. to have the possibility for different tap_actions in one cardā€¦ the other way around you need thisā€¦ :smile:

Thanks in advance!

Iā€™m having some trouble with this card not showing up. I installed it through HACS and added this to my cinfiguration.yaml

- url: /hacsfiles/simple-weather-card/simple-weather-card-bundle.js
  type: module

Iā€™ve restarted several times but still get this:

The test code i did was this:


type: 'custom:simple-weather-card'
entity: weather.hjem
name: ' '
backdrop: true

I have the same issue. At the same time, I have over 20 added custom cards.
Also, Iā€™ve tried changing the type to ā€œjsā€ and cleaning the cache as well. I have also tried adding resources to Configure and to ui-lovelace file as the instruction says.
+1 for some help here. @Vintage89 Have you fixed your error?

I tried it again a couple of weeks later, and then it worked. Not sure if I did anything to solve it though. Sorry I canā€™t be more of help

1 Like

@kalkih Love this card!! I was wondering if there is any way to use this ā€˜unbundledā€™? I want to make a couple tweeks and donā€™t see anyway to do it with the bundled version?

My goal would be to change the current card into this to better fit the style of my dashboard:

change

As far as I can tell, Iā€™ve followed the github install simple-weather-card via HACS, but when I go to add the card to a Lovelace dashboard, it doesnā€™t appear on the list. Is it supposed to be added manually? When I try that approach, the card doesnā€™t appear in the live version. Help!

im having the same issue. cant get this to work.

Got mine working, somehow, but for the life of me, at this point in time I donā€™t remember how, sorry.

@kalkih I saw there is 1 issue ā€œfeature-request/enhancementā€ in the backlog, regarding Wind_Speed, many card seems to hard-code km/h
so my question is, shouldnā€™t it be fairly easy to implement a ā€œpickerā€ where we could choose which unit ( i mean the following text) to (ATTR_WEATHER_WIND_SPEED_UNIT = ā€œwind_speed_unitā€) , as one could expect any weather integration reports correct in what ever ā€œunitsā€ developer/api decides to deliver.
but im not a developer, and im not too familiar with how the javascript code in ha-cards either

Below is from (weather-chart-card) github,

Screenshot 2022-12-07 at 23-24-50 weather-chart-card_src at master Ā· Yevgenium_weather-chart-card

and i believe this is the code (or maybe partly) , as i dont know how similar your code is to this card

  renderAttributes({config, humidity, pressure, windSpeed, windDirection} = this) {
    if (this.unitSpeed === 'm/s') {
      windSpeed = Math.round(windSpeed * 1000 / 3600);
    }
show_attributes: true
units:
  pressure: mmHg
  speed: m/s

BƤst Regards :slight_smile:

Edit: or simply skip the render, and just apply choice of ā€œunit - txtā€, ( km/h or m/s )

PS: The weather integration ā€œTrafikverketā€ (API) actually reports windspeed in m/s, i believe HA-defaullt weather met.no(API) also reports in m/s

Never Mind, i assume you lost interest for this card, or otherwise not have time for it ā€¦ i change it my self in the .js, ā€¦ as mention atleast here in ā€œNordenā€ , windspeed is regularly mentioned as m/s

Is this card compatible with the weather services of the latest Home Assistant 2023.11 version ?

the UI integration donā€™t show up the forecast temperatures anymore
image

When I enable backdrop, the font colour is black even during daytime. Is there a way to change the colour to white?

I added text: "#ffffffā€ but it doesnā€™t do anything.