iantrich / config-template-card

đź“ť Templatable Lovelace Configurations
MIT License
441 stars 56 forks source link

config-template-card.js not downloading with custom_updater #3

Closed schoenof closed 5 years ago

schoenof commented 5 years ago

I can't get this to download/update via custom_uploader like all the other custom_cards from this repo... lovelace.yaml like below:

resources:

First 2 work properly but config-template-card does not...

iantrich commented 5 years ago

Nope, different structure

brianhanifin commented 5 years ago

The update button updates it for me. I just did it.

iantrich commented 5 years ago

@ludeeus must updated something on his end?

DavidFW1960 commented 5 years ago

I can confirm it works with custom updater. I didn't even have track=true and downloaded the card manually. When I restarted, it showed the card in the tracker and N/A with 1.02 available. Update and it's showing 1.02 for both now...

ludeeus commented 5 years ago

If this is the case @schoenof should open an issue in the custom_updater repo not here

randellhodges commented 5 years ago

custom updater seems to think it updated, but when I went to the file system, for me, it wasn't updated. I had to pull it myself.

probably not on this side, just adding in my experience this morning

Edit: FYI, the problem is over on the custom updater side, with the master repos.json file. It has the remote_location set to https://raw.githubusercontent.com/custom-cards/config-template-card/1.0.2/config-template-card.js but there is nothing there.

If the link was https://raw.githubusercontent.com/custom-cards/config-template-card/master/dist/config-template-card.js then it would work.

Edit 2: Unless there is some sort of expectation that other people have their repos setup a certain way?

ludeeus commented 5 years ago

Edit: FYI, the problem is over on the custom updater side, with the master repos.json file. It has the remote_location set to https://raw.githubusercontent.com/custom-cards/config-template-card/1.0.2/config-template-card.js but there is nothing there.

That is correct.

Edit 2: Unless there is some sort of expectation that other people have their repos setup a certain way?

There was (is), but they need updating.

All should be good now.

iantrich commented 5 years ago

I put my stuff in the custom org so I wouldn’t have to figure that out :)