iamBiB / lovelace-htc-flipclock-weather

HTC Flipclock with Weather card
25 stars 12 forks source link

unable to install #16

Closed bluenazgul closed 2 years ago

bluenazgul commented 2 years ago

i followed your guide but i cant get it working

iamBiB commented 2 years ago

check the console and tell me what the error is. or any lovelace errors?

AndreB52 commented 2 years ago

here te same problem resources:

Card is not showing Also sensor: platform: time_date display_options:

yfands commented 2 years ago

Hello AndreB52, check the indentation under display_options:

   platform: time_date
   display_options:
      - 'time'
      - 'date'
      - 'date_time'
      - 'date_time_utc'
      - 'date_time_iso'
      - 'time_date'
      - 'time_utc'
      - 'beat'
curtisdr commented 2 years ago

Not sure if this was proper, but for it to work I had to change the Lovelace Resource to /local/custom_ui/htc-weather/htc-flipclock-weather.js

GerdRuetten commented 2 years ago

Here the same Problem.

Error: Empty Card

My steps:

1.) Create the directory "/config/www/custom_ui/htc-weather" 2.) Download the ZIP-File here from github 3.) De-Compress the file and transfer it via FTP in binary-Mode to the directory from 1.) image

4.) Integrate the time_date - Sensor (was integrated bevor and works) In my configuration.yaml:

sensor time_date: !include sensors/time_date.yaml

In my sensors/time_date.yaml

  platform: time_date
  display_options:
    - 'time'
    - 'date'
    - 'date_time'
    - 'date_time_utc'
    - 'date_time_iso'
    - 'time_date'
    - 'time_utc'
    - 'beat'

5.) place /local/custom_ui/htc-weather/htc-flipclock-weather.js?v=1.3.0 in the lovelance-resources. image

6.) Create a custom Card on a seperate Lovelance-Register with:

type: custom:htc-weather-card
entity: weather.home
sun: sun.sun

In the browser-console I get this error: image

I tested Step 5) with and with not the "v=1.3.0"-Parameter.

What's my failure? What can I do?