Custom_updater and tracker-card not reporting correctly

I did only check the json file… you need to contact the developer of this sensor.
the version tag inside the file is wrong
https://github.com/custom-components/custom_updater/wiki/components

Ok thank you @ludeeus, turning to @xirixiz again :wink: would you please check the version tag so the custom updater card can run and update the custom component?

Hi all,

I’m trying to setup those custom component and card without success:

Here’s my config file :

custom_updater:
  show_installable: false
  hide_sensor: false
  track:
   # - components
    - cards
   # - python_scripts
  card_urls:
    - https://raw.githubusercontent.com/custom-cards/tracker-card/master/tracker-card.js
    - https://raw.githubusercontent.com/ciotlosm/custom-lovelace/blob/master/monster-card/monster-card.js 

It says invalid config.

Then on my lovelace-uiI can see the tracker card, but without any row.

Can someone please support me?

sorry, but what exactly should be changed?

None of your card_urls are valid

This part are considered advanced configuration, this option is here to provide support for third-party cards, do not add anything here unless a card dev has made a special json file for this you can point to, putting in a URL directly to a card here will not work, and can potentially cause the component to fail.

Both those cards are tracked by default, so you can remove the card_urls section.
If you have an issue after that open a issue here https://github.com/custom-components/custom_updater/issues

If you look at the link I posted with it, it states that the version needs to be stated in one of the expecting formats

  • VERSION = 'x.y.z'
  • __version__ = 'x.y.z'
1 Like

been banging my head against the wall checking the settings in the custom component tracker or the json file it references… the error is in the custom components itself which has no correct version entry.
@xirixiz please add __version__= '1.1.4' to the custom component. Ill cross post in the components thread too

It uses regex to determine the the local version, feel free to make a PR that allows it to check for the one you have/had in the file
https://github.com/ludeeus/pyupdate/blob/master/pyupdate/ha_custom/custom_components.py#L110

not sure what to do here, I changed(added) the version in my local file and now your card sees the update correctly.

01

If I update now, the new local file won’t have the correct version again, so I think the best option will be if the author adds it to his component.

Yes, he/she will have to do that to persist the tag.

Ill jump in here, hopefully I can get some help, pardon my noobness. This is my config.yaml file entry.

custom_updater:
  #oppdaterer custom addons hvor utvikler har gjort klart for dette
  hide_sensor: false
  show_installable: true
  track:
    - components
    - cards
    - python_scripts
  component_urls:
    - https://raw.githubusercontent.com/robmarkcole/Hue-sensors-HASS/master/custom_updater.json
  card_urls:
  python_script_urls:

And in ui-lovelace.yaml I have the following:

title: a_title
# Include external resources
resources:
  - url: /local/tracker-card.js?v=0
    type: js
  - url: /local/gauge-card.js?v=0
    type: js

And:

  - title: System info
    #system info om alt på hass.io
    cards:
      - type: custom:tracker-card
        title:
          trackers:
            - sensor.custom_card_tracker
            - sensor.custom_component_tracker

This only gives me

Anyone see anything I do wrong? I can see sensor.custom_card_tracker, sensor…custom_component_tracker and sensor.custom_python_script_tracker in dev states.

Any help is greatly appreciated.

You have no card_urls and python_script_urls. Try removing these two lines:

  card_urls:
  python_script_urls:

If the problem is still there, remove:

    - cards
    - python_scripts

I think you only need to write the lines corresponding to the components, cards or python_scripts that you are actually using.

Hello,
My sensor.custom_component_tracker and sensor.custom_python_script_tracker doesn’t work
The sensor.custom_card_tracker works fine and show all my cards.
How can I see my components and phyton scripts ?
Thanks !
Bart

I have a partial working tracker card and are puzzled.

Few facts:

  • I have tracker_card and custom_updater component installed. Running last version (4) of custom_updater
  • My configuration.yaml looks as below
  • Running lovelace in storage all custom cards work fine

Issue:
For some reason the tracker/custom_updater does not see that I have custom cards installed (however does see this for customer components). I’m out of ideas…

Configuration.yaml:

custom_updater:
  mode: storage
  show_installable: True
  track:
    - components
    - cards
  component_urls:
    - https://raw.githubusercontent.com/pippyn/Home-Assistant-Sensor-Afvalbeheer/master/custom_components.json
  card_urls:
    - https://raw.githubusercontent.com/kuuji/button-card/master/tracker.json
    - https://raw.githubusercontent.com/nervetattoo/simple-thermostat/allow-updates/tracker.json 
    - https://raw.githubusercontent.com/kalkih/mini-graph-card/master/tracker.json  

First part of lovelace:

resources:
  - type: module
    url: /local/simple-thermostat/simple-thermostat.js?v=0
  - type: module
    url: /local/mini-graph-card-bundle.js?v=0.2.0
  - type: module
    url: /local/monster-card/monster-card.js?v=0
  - type: module
    url: /local/custom-lovelace/swipe-card/swipe-card.js?v=1.1.0
  - type: module
    url: /local/button-card.js?v=0
  - type: js
    url: /local/tracker-card.js?v=0

Components are recognised:

But cards not:

@DetJet @bouwew @BartEngelen @Tyfoon
Please open issues here:
https://github.com/custom-components/custom_updater/issues

Sure. Just added

1 Like

Hi Guys,

What am I doing wrong?
Thank you
image


image

If you are using ver 4.0.x of custom_updater there has been some breaking changes.


Update you config accordingly.

well that’s not too easy…
I did, and it made my setup behave rather unexpectedly slow, so loaded the previous version again…
I am a bit puzzled how to define the custom cards. Using Yaml mode with includes, I point my Lovelace setup in ui-lovelace.yaml via resources: !include /config/lovelace/resources/resources.yaml to my resources, which looks like this:

# https://github.com/thomasloven/lovelace-card-tools
- url: /local/lovelace/resources/card-tools.js?v=6ce5d0
  type: js
# Ha Cards : https://www.home-assistant.io/lovelace/gauge
# https://github.com/ciotlosm/custom-lovelace/tree/master/gauge-card
- url: /local/lovelace/resources/gauge-card.js?v=0.2.0
  type: js

- url: /local/lovelace/resources/tracker-card.js?v=0.1.5
  type: js
# https://github.com/rodrigofragadf/lovelace-cards/tree/master/tiles-card
- url: /local/lovelace/resources/tiles-card.js?v=0.1.1
  type: js
- url: /local/lovelace/resources/useful-markdown-card.js?v=dfc268
  type: js
# https://github.com/ciotlosm/custom-lovelace/tree/master/monster-card
- url: /local/lovelace/resources/monster-card.js?v=0.2.3
  type: js
# https://github.com/ciotlosm/custom-lovelace/tree/master/bignumber-card
- url: /local/lovelace/resources/bignumber-card.js?v=0.0.1
  type: js
# https://github.com/ciotlosm/custom-lovelace/tree/master/entity-attributes-card
- url: /local/lovelace/resources/entity-attributes-card.js?v=0.1.1
  type: js
- url: /local/lovelace/resources/group-card.js?v=0.0.2
  type: js

- url: /local/lovelace/resources/mini-media-player-bundle.js?v=0.9.8
  type: js
# https://github.com/kalkih/mini-graph-card
- url: /local/lovelace/resources/mini-graph-card-bundle.js?v=0.2.3
  type: module
- url: /local/lovelace/resources/weather-card.js
  type: js
# https://github.com/iammexx/home-assistant-config/tree/master/ui/darksky
- url: /local/lovelace/resources/dark-sky-weather-card.js?v=7.1.5
  type: module
- url: /local/lovelace/resources/fold-entity-row.js?v=5ab35c
  type: js
# https://github.com/custom-cards/vertical-stack-in-card
- url: /local/lovelace/resources/vertical-stack-in-card.js?v=v0.1.0
  type: js
# https://github.com/thomasloven/lovelace-card-modder
- url: /local/lovelace/resources/card-modder.js?v=fadc03
  type: js
- url: /local/lovelace/resources/slider-entity-row.js?v=d6da75
  type: js
- url: /local/lovelace/resources/layout-card.js?v=bd7e5a
  type: js
# https://github.com/gurbyz/custom-cards-lovelace/tree/master/power-wheel-card
- url: /local/lovelace/resources/power-wheel-card.js?v=0.0.8
  type: module
- url: /local/lovelace/resources/weather-card-chart.js?v=0.2
  type: module

the new setup of the custom_updater says to change the path to the resources, but I cant understand how I need to change my ui-lovelace configuration for the card to work… It should simply follow my configuration shouldn’t it?

this is the bit I don’t get:

old example:

resources:

  • url: /local/tracker-card.js?v=0.3.0
    type: js
    new example:

resources:

  • url: /customcards/tracker-card.js
    type: js

If I misunderstand the rather minimal setup instructions, please let me know how, and what I need to do to make it work again? thanks.

The new updates does not require versions anymore and the /local/ has been replaced with something else… need to see docs.

yes, I Understand so far… And did change it. But how will the ui-lovelace.yaml find the resources, when the path has changed to an non-existant one…? changing it to /customcards/ will make the config error out won’t it? Or is this in another file, and not the resource path in the ui-lovelace.yaml?