mishaaq / sun-card

Lovelace card for sun component - Home Assistant
MIT License
51 stars 10 forks source link

sensor.moon doesnt display #16

Closed ghost closed 4 years ago

ghost commented 4 years ago

Describe the bug Moon sensor is not displayed

To Reproduce Lovelace

          - entities:
              max_elevation: sun.sun
              moon: sensor.moon
              noon: sensor.solar_noon
              sunrise: sensor.sunrise
              sunset: sensor.sunset
            meridiem: false
            name: Soleil
            type: 'custom:sun-card'

Sensors

sensor
  - platform: moon

Config: arch | x86_64 dev | false docker | true hassio | true os_name | Linux python_version | 3.7.6 timezone | America/Toronto version | 0.105.5 virtualenv | false

moon_sensor_state moon_sensor_state2

ghost commented 4 years ago

Adding print screen of the card. Styled in theme. Doesnt show up even, wethered styled or not.

sun_Card

ghost commented 4 years ago

Dont know if its related, but i Sometimes get this error message (at the bottom of the attached image) when th UI is updating, then it goes away and is replaced by the sun-card after a second or two. 73465043-FF14-482C-AAB5-5020A9940AC1

mishaaq commented 4 years ago

@hugo929

Dont know if its related, but i Sometimes get this error message (at the bottom of the attached image) when th UI is updating, then it goes away and is replaced by the sun-card after a second or two.

What you mean by "UI is updating" - it occurs from time to time or it happens after page refresh or after after changing the UI config (card or whole UI?)?

ghost commented 4 years ago

What you mean by "UI is updating" - it occurs from time to time or it happens after page refresh or after after changing the UI config (card or whole UI?)?

When refreshing the UI (pulling down on ios apps (iPhone or iPad) , I havent seen it on chrome yet) While individual cards are updating assync, the yellow message appears for a couple of seconds, then is replaced by the sun card wich displays correctly (albeit missing moon sensor).