hacs / integration

HACS gives you a powerful UI to handle downloads of all your custom needs.
https://hacs.xyz
MIT License
5.35k stars 1.28k forks source link

0.9.0 pending update notice when there is none #189

Closed brianhanifin closed 5 years ago

brianhanifin commented 5 years ago

Version of HACS

0.9.0

Describe the bug

sensor.hacs says there is 1 pending update. However the HACS store page says:

Installed version: 0.9.0
Available version: 0.9.0

Debug log

-------------------------------------------------------------------
HACS (Home Assistant Community Store)
Version: 0.9.0
This is a custom component
If you have any issues with this you need to open an issue here:
https://github.com/custom-components/hacs/issues
-------------------------------------------------------------------
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceaeb158>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceb65ea0>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceaeb158>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceb65ea0>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceaeb158>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceae8950>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceae8950>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceb65ea0>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceae8950>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceaeb510>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceb65ea0>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceaeb510>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceaeb510>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceae8d08>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceaeb510>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceae8d08>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceb56b70>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceae8d08>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceb56b70>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceae8d08>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceae8950>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceb56b70>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceaeb158>
2019-06-28 12:17:36 [homeassistant.core] Error doing job: Exception in callback .state_change_listener at 0x7f56ceb56b70>
2019-06-28 12:21:11 [homeassistant.core] Error doing job: Task exception was never retrieved
2019-06-28 12:21:11 [homeassistant.core] Error doing job: Task exception was never retrieved
2019-06-28 12:21:11 [homeassistant.core] Error doing job: Task exception was never retrieved
2019-06-28 12:21:11 [homeassistant.core] Error doing job: Task exception was never retrieved
2019-06-28 12:23:20 [homeassistant.core] Error doing job: Task exception was never retrieved
ludeeus commented 5 years ago

You only have hacs installed? no other elements?

brianhanifin commented 5 years ago

Here is a list of components.

INTEGRATIONS

PLUGINS

ludeeus commented 5 years ago

Please share your .storage/hacs file by using hastebin (or similar).

brianhanifin commented 5 years ago

I upgraded to 0.10 yesterday and the sensor still reports a pending update. Here is the current contents of the hacs file.

https://pastebin.com/SN2Hrv9R

ludeeus commented 5 years ago

Can you enable "Table" for the "view" setting under "settings", then upload a screenshot from the Overview?

ludeeus commented 5 years ago

Or a screenshot from box you get by clicking the "Upgrade all" button under Settings

brianhanifin commented 5 years ago

Here are both of those screenshots. From my phone.

IMG_1230 IMG_1229

brianhanifin commented 5 years ago
Screen Shot 2019-07-01 at 7 29 23 PM Screen Shot 2019-07-01 at 7 29 35 PM Screen Shot 2019-07-01 at 7 29 49 PM Screen Shot 2019-07-01 at 7 29 54 PM
ludeeus commented 5 years ago

And the sensor is still 1?

brianhanifin commented 5 years ago

I took the screenshots from my phone before updating (while I was out of the house). The screenshots taken from my computer browser were taken after I performed an "Update All".

The sensor now reads 0. It still read 1 before the "update all" button. I wonder if the Update All button would have resolved it sooner? It appears to be resolved for me. It has been 14+ hours since I have seen the sensor notify me of an update.

Thanks.

brianhanifin commented 5 years ago

Shoot. This is back. None of the integrations are showing that an updated version is available. I think the only reasonable think for me to do at this point is to disable the automation I have setup to notify me when sensor.hacs is greater than 0, and just try to remember to check for updates once in a while.

https://github.com/brianhanifin/Home-Assistant-Config/blob/master/automations/notifications/hacs_update_notification.yaml

ludeeus commented 5 years ago

Your sensor will give you false positives, look in the forum post you need a condition.

brianhanifin commented 5 years ago

To anyone else that comes across this issue, the solution proposed to the update automation @ludeeus mentions can be found here.

https://community.home-assistant.io/t/custom-component-hacs/121727/126

@ludeeus If this is the solution, then I am truly sorry to have taken up so much of your time.