I’ll do a text size option on the. Next release
It’s in seconds. So just put 3600 it will be 2 hours less. No ‘-‘ just 3600
thanks that was the trick. 3600 is 1 hour. 7200 is 2
Oh yeah… you said 2 hours. My bad
Just a quick comment to say that I love this integration, been an htc fan for a long time!
It took me a long time to get this working, eventually I discovered that I needed to add the time & date sensor to get it to work! Hopefully this might help others struggling in the future.
- platform: time_date
display_options:
- 'time'
- 'date'
- 'date_time'
- 'date_time_utc'
- 'date_time_iso'
- 'time_date'
- 'time_utc'
- 'beat'
Gordon
hi,
love the clock idea,had the HD2 for ages
I copied the content of the generated zip file by means of sambashare to
\x.x.x.x.\config\www\custom_ui\htc-weather
added
resources:
- url: /local/custom_ui/htc-weather/htc-flipclock-weather.js?v1.0.2
type: module
to raw editor.
- entity: media_player.vsx923
type: media-control
resources:
- url: /local/custom_ui/htc-weather/htc-flipclock-weather.js?v1.0.2
type: module
A card is shown only that states the following
Unknown type encountered: module.
url: /local/custom_ui/htc-weather/htc-flipclock-weather.js?v1.0.2
type: module
where did I go wrong
error log shows Component error: resources - Integration ‘resources’ not found.
Well… seems like the type is wrong. Should be
custom:htc-weather-card
See github for examples
Ok I am missing something here…
Downloaded the zip and put it here
\xxx.xxx.xx.xx\config\www\custom_ui\htc-weather
I need to manually make both the custom_ui and htc-weather folders
“Resources” is now under Configuration > Lovelace Dashboards and I have added like this
Just trying to add a base card to start with using
type: ‘custom:htc-weather-card’
entity: weather.oshawa
It doesn’t show a card at all.
Checking Chromes developer tools console I see
“Uncaught (in promise) TypeError: Cannot read property ‘state’ of undefined
at Function.getOldTime (htc-flipclock-weather.js?v1.0.2:381)
at HTMLElement.renderCard (htc-flipclock-weather.js?v1.0.2:191)
at HTMLElement.render (htc-flipclock-weather.js?v1.0.2:187)
at HTMLElement.update (lit-element.ts:217)
at HTMLElement.performUpdate (updating-element.ts:704)
at HTMLElement._enqueueUpdate (updating-element.ts:653)”
I have the same procedure and the card does not show to me either.
Did you add this?
- platform: time_date
display_options:
- 'time'
- 'date'
- 'date_time'
- 'date_time_utc'
- 'date_time_iso'
- 'time_date'
- 'time_utc'
- 'beat'
It needs some time_date sensors to work
yes sure, i will check if it is correct
Try to add some CSS to the Card to resize it that it will fit to my Sidebar. Can someone point me to the right way for that?
10 out 10 bro
just one question
as darky_sky dying a slow death
could replace with weather.met_no
just one little problem
This is awesome! Had lots of HTC phones and the flip clock was may favorite. I created a flip clock theme for Kustom Live Wallpaper Android app. Gonna be playing around with this to try to figure out how to add my theme files to it.
this looks nice, maybe we can work together and create a theme pack
yeah, i know about the responsiveness issue. i didn’t have the time to look at it yet. and yes, i’ll add support for weather.met_no
I still have all the images from the themes I created for my phone. But I could not get the HTC Flip Clock installed. When do you think you will have it available to install thru HACS?
sned me all the files you have and ill have a look. i don
t want to promise anything. i`m a bit tied up right now
stopped working for no reason …