Weird, I actually don’t know why it wouldn’t work before then, maybe the config didn’t save/update properly before you reloaded the page?
CSS is quite picky when it comes to the syntax and won’t give you an error if something is invalid so yeah it could be quite hard to debug.
You could however “right click” → “inspect” the element in the browser to debug the CSS.
Do have another question. Not sure if this has been discussed earlier, (tried to keep up with the posts…), but would it be possible to focus the browser to a tab which has been navigated to using the
command? The page is loaded correctly, but the top menu doesn’t necessarily show the active tab (in my use case: I have way more tabs than space for the top menu bar. My simple-weather-card is on the homepage, navigating to tab 16…)
Would be really cool if the navigate would also center the top menu tabs to that navigate tab.
ok thanks, will try the cch thread and ask the author first, because I’ve now tested it to be on mobile and desktop, no matter which screen size, it always lands on the same view, being 1 left of the navigation-path…
can’t be a coincidence
Hey,
That should work, although if low is the only missing value there’s no need to supply it with the temp/high sensors (unless you want to ofc).
Make sure the sensor.dark_sky_overnight_low_temperature_0d reports its state as a number, without any additional characters or symbols.
Also, make sure you’ve updated your card to at least the version where the custom option was added.
If using HACS, also double check if your resource reference matches the one stated in HACS, since it changed in later versions.
Should be like this nowadays I believe.
There are no errors related to any weather component. I have 3 different weather providers in my setup: Dark Sky, SMHI and OpenWeatherMap. The only one showing high/low is SMHI (Bromma) and the same regardless of custom variables or not (note: the high/low from Dark Sky is 13.7/6.6).
My code:
- type: custom:simple-weather-card
entity: weather.dark_sky
custom:
- low: sensor.aqara_multi_temperature_1 # this is actually not low, just random inside sensor