AitorDB / home-assistant-sun-card

Home assistant sun card based on Google weather design
MIT License
407 stars 184 forks source link

Show friendly error when there is no sun.sun element #35

Closed bessarabov closed 3 years ago

bessarabov commented 3 years ago

This card works awesome when there is default_config: (https://www.home-assistant.io/integrations/default_config/) in configuration.yaml

But when there is no default config and there is no sun: integration ( https://www.home-assistant.io/integrations/sun/ ) the card is shown this way:

Screen Shot 2021-05-18 at 17 39 01

I think that the card should show error text to make it clear that there must be sun.sun for this card to work.

bessarabov commented 3 years ago

Solved in https://github.com/AitorDB/home-assistant-sun-card/releases/tag/v0.1.4

Screen Shot 2021-05-20 at 16 59 34

Thank you!