Skip to content

Custom-card "Sun"

The custom_card_httpedo13_sun adapt sun card for minimalist ui.

Credits

Author: httpedo13 - 2021 Version: 1.0.0

Changelog

1.0.0 Initial release

Requirements

This card uses:

Component / card required Link
Sun integration yes more info
Sun card yes more info

Images

Generic

Usage

  - type: custom:button-card
    template: custom_card_httpedo13_sun
    variables:
      language: 'it'

Variables

The same sun card config.

Name Accepted values Description Default
darkMode boolean Changes card colors to dark or light Home assistant dark mode state
language string1 Changes card language Home assistant language or english if not supported
showAzimuth boolean Displays azimuth in the footer false
showElevation boolean Displays elevation in the footer false
timeFormat '12h'/'24h' Displayed time format Locale based on Home assistant language
title string Card title Doesn't display a title by default

(1) Supported languages: da, de, en, es, et, fi, fr, hu, it, nl, pl, pt-BR, ru, sl, sv