Startup setup for new lovelace (Home Assistant) card development
For installation you should have HACS installed. Then add this repository https://github.com/trollix/ha-tsmoon-card in HACS and install the card. You have to reload you browser after installation.
Then you can add the new card into your dashboard.
✨ Install via HACS
tsmoon-card.js
from the Releases page/www/ha-tsmoon-card/tsmoon-card.js
(via Samba, File Editor, SSH, etc.)/ha-tsmoon-card/tsmoon-card.js
as a
JavaScript Module.
Name | Type | Default | Description |
---|---|---|---|
type | string | Required | custom:custom:tsmoon-card |
entity | string | Required | The entity id of moon sensor -> sensor.moon |
title | string | optional | Title displayed on the card |
icon_type | string | optional | Type of picture for the moon (forms/round/photos) |
language | string | optional | The language used in the card |
Example:
type: custom:tsmoon-card
title: Lune
entity: sensor.moon
icon_type: round
time_format: 24h
language: fr