It just disappeared. Was it removed in the latest update? And this code stopped working. I didn’t see any breaking changes related to this.
Also, this expression stopped working, also related to the sun component.
{% if ((((as_timestamp(states.sun.sun.attributes.next_dusk)) - (as_timestamp(states.sun.sun.attributes.next_dawn)))) < 0) %}
00:15:00
{% else %}
00:05:00
{% endif %}
Need more info…what are you seeing? errors?
Well, there is no sun or moon icon. As for the expression, it is always evaluating the same. About half the time the expression is > 0, or should be. This was working in 85.1
Still not getting a clear picture of where your problem is. Can you post more of your yaml. Also I added both sun and moon sensors to my HA and they both display the proper icons. I am on 0.86.2
I’ll post it with some pics when I wake up. I’m pooped.
It came back I hate it when things fix themselves without me knowing why.
might have been your browser cache
BTW, care to share your code for that card?
views:
- cards:
- cards:
type: entities
- entities:
- sensor.dark_sky_summary
- sensor.dark_sky_temperature
- sensor.current_weather
- sensor.dark_sky_precip_probability
- sensor.dark_sky_daytime_high_temperature_0
- sensor.dark_sky_overnight_low_temperature_0
- sensor.sun_state
- sun.sun
- sensor.moon
- sensor.season
show_header_toggle: true
title: Today's Weather Details