homeassistant-lovelace-alarm-clock-card icon indicating copy to clipboard operation
homeassistant-lovelace-alarm-clock-card copied to clipboard

Compatibility with Home Assistant 2022.9.6

Open Sceptorrh opened this issue 2 years ago • 1 comments

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 avatar Sep 22 '22 14:09 Sceptorrh

My card config:

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

  • entity_id: switch.bedswitch cards:
  • type: button entity: sun.sun

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

I have "https://unpkg.com/[email protected]/min/moment.min.js" under dashboard -> recources. With resource type set to Javascript

Sceptorrh avatar Sep 23 '22 07:09 Sceptorrh