rdehuyss / homeassistant-lovelace-alarm-clock-card

Building the perfect alarm clock...
37 stars 5 forks source link

Compatibility with Home Assistant 2022.9.6 #6

Open Sceptorrh opened 2 years ago

Sceptorrh commented 2 years ago

Hey!

Im trying to get this alarm clock to work. It looks really promising and ticks all the boxes for me. Since I have still limited knowledge with homeassistant and this repository hasn't seen any activity for a while now. It seemed smart to ask if the alarm clock still works in the latest home assistant version.

I tried to get everything working but get stock on the card config, I installed the variables through HACS (by @rogro) since the old repostitory is outdated I added the javascript/css files under the dashboard resources I added the alarm clock variable under configuration.yaml

The card configuration now says that there is no card type found. I also have difficulties understanding how the alarm_entities should be configured.

Any help would be greatly appreciated!

Sceptorrh commented 2 years ago

My card config:

type: custom:alarm-clock-card title: Alarm Clock panel: true alarm_entities:

I try to start as minimal as possible, But get the error: "moment is not defined"

I have "https://unpkg.com/moment@2.22.2/min/moment.min.js" under dashboard -> recources. With resource type set to Javascript