Devqon / lovelace-mini-thermostat

A mini lovelace card for controlling a thermostat
MIT License
13 stars 6 forks source link

.js File not updating after update in HACS #15

Closed Borrel88 closed 4 years ago

Borrel88 commented 4 years ago

After updating the plugin in HACS to the newest version (v0.1.0) the javascript file won't update. Though HACS is showing the correct updated version number.

The newest configuration options are not working and not visible anywhere in the .js file.

martinhoess commented 4 years ago

Can confirm this / have the same problem.

The js file from the release however seem to be the correct one ... if you download it an replace the existing one in the lovelace/plugin folder the grouped/tiny stuff works

Devqon commented 4 years ago

I am not sure why this happens, possibly a mismatch with how it is supposed to work for HACS. Does the logs say anything?

Borrel88 commented 4 years ago

Nothing visible in the logs. Cannot find a specific hacs or component log, should there be any?

Borrel88 commented 4 years ago

Found a (temporary?) solution.

In the www/community/lovelace-m8ni-thermostat folder. I deleted the .gz file which is used by HACS to deliver the custom component to the viewer at a faster speed then a regular uncompressed .js file.

After removing the file, the newest version of the card is correctly showing.

Update: After the removal of the file, then reinstall in hacs, the .gz file comes back and the newest update is still working.

Devqon commented 4 years ago

I think it has to do with https://github.com/hacs/integration/issues/922

The developer of HACS advises to use this workaround: "if you use releases, if't probably the same root cause as this https://github.com/hacs/integration/issues/922 Try selecting "master", then selecting the nevest version, the click the tree dots -> reload data. Then update"

Devqon commented 4 years ago

Closing this as it is a bug in HACS, not this plugin