Skip to content

1v4r/home-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

home-assistant

My Home Assistant projects

Just been trying to figure out how to make new cards and get to know the frameworks

Clock Card

My first real try at a custom HA Lovelace card. The clock card requires the following to be put into the ui-lovelace.yaml file

resources:
  - url: /local/clock-card.js
    type: js
  - url: https://unpkg.com/[email protected]/min/moment.min.js
    type: js

It still needs a bit of work with regards to using local formats and so forth.

So far mostly a copy/paste/edit of stuff from https://github.com/home-assistant/home-assistant-polymer/blob/dev/src/cards/ha-weather-card.js and https://github.com/rdehuyss/homeassistant-lovelace-alarm-clock-card/blob/master/alarm-clock-card.js

About

My Home Assistant projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published