How to display sun component card?

I’m slowing becoming familiar with the Home Assistant package, but I feel I must still be missing some of the basics. So a couple of newbie questions:

(1) How do I get a card for the sun component to display as shown on the https://home-assistant.io/components/sun/ page? It shows the sunrise and sunset times.

(2) What causes the log message “WARNING:homeassistant.bootstrap:Colorlog package not found, console coloring disabled” when starting hass?

Thanks// Chris

As for question 1 - the graphic on that page is what you get when you click on the sun component, not what you get for just putting it in a card. Actually, it looks out of date too, because now you get the history as well.

Sorry i can;t help with question 2 …

I can’t help you with #2 either but I couldn’t get the sun’s attributes to show up in a card.

group: Info_Center: name: Information Center entities: - sun.sun - sun.next_rising - sun.next_setting

As far as I know, Home Assistant follows the “DOMAIN.OBJECT” pattern so I wouldn’t be able to get the atrributes from sun’s information.

I sure wish there was a comprehensive tutorial of sorts that would help new users to “connect the dots” so to speak between components, platforms, cards, entities etc etc.

And just when you think you’re making progress, the Phillips component/platform won’t configure

pip3 install colorlog if you want colored log

Ah ha! So it provides a colour-coded log and makes warnings and errors much easier to detect. DUH!!

Thanks!

What do you mean? Do you have any issues with Philips Hue component/platform?

I’m thinking that for the discovery feature to work, you will need to perform the command:

sudo pip3 install netifaces

After several failed attempts to get the Hue to configure (hitting the Hue gateway button after the prompt - located down one flight of stairs) I copied an old phue.conf file into the root HA directory. And the next time I attempted the configuration it worked fine. Perhaps just coincidence of course :))