Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ndeleforge/simpleclockcard
A simple, no fancy clock card for Home-Assistant
https://github.com/ndeleforge/simpleclockcard
addon clock date home-assistant javascript plugin
Last synced: about 2 months ago
JSON representation
A simple, no fancy clock card for Home-Assistant
- Host: GitHub
- URL: https://github.com/ndeleforge/simpleclockcard
- Owner: ndeleforge
- License: gpl-3.0
- Created: 2024-11-04T07:26:17.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-23T10:20:36.000Z (about 2 months ago)
- Last Synced: 2024-11-23T11:22:56.473Z (about 2 months ago)
- Topics: addon, clock, date, home-assistant, javascript, plugin
- Language: JavaScript
- Homepage:
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Clock Card
[![GitHub license](https://img.shields.io/github/license/ndeleforge/binocle?style=for-the-badge)](https://github.com/ndeleforge/binocle/blob/main/LICENCE)
![GitHub last commit](https://img.shields.io/github/last-commit/ndeleforge/binocle?style=for-the-badge)
[![GitHub forks](https://img.shields.io/github/forks/ndeleforge/binocle?style=for-the-badge)](https://github.com/ndeleforge/binocle/network)
[![GitHub stars](https://img.shields.io/github/stars/ndeleforge/binocle?style=for-the-badge)](https://github.com/ndeleforge/binocle/stargazers)This clock card is made for anybody which is looking for a simple, no fancy clock card.
![Card example](/docs/images/card.png)
# Usage
This card is not available on HACS. It means it must be installed manually.
## Installation
- Download the `SimpleClockCard.js` file.
- Add it to your `www` Home-Assistant folder.
- Add the ressource to your Home-Assistant.## Configuration
In order to add the clock in your dashboard, create a manual card and add this :
```
type: custom:simple-clock
```## Parameters
| Parameter | Required | Description | Default value
| -------------- | ------------ | --------------- | -----------------
| type | Yes | Name of the card | none
| no_background | No | Hide the background card | false
| hour_font_size | No | Define hour font size | 5em
| hour_bold_text | No | Put time in bold | false
| show_seconds | No | Show seconds | false
| date_font_size | No | Define date font size | 2em
| date_capitalize | No | Capitalize date (day and month) | false
| show_year | No | Show year | false
| locale_date | No | Define locale for date | en-US