custom-components / custom_updater

[DEPRECATED]📦 A component which allows you to track and update custom cards/components and python_scripts
MIT License
166 stars 66 forks source link

Custom element doesn't exist: tracker-card. #112

Closed GaryOkie closed 5 years ago

GaryOkie commented 5 years ago

HASSIO Version 88.2

Tracker-card version 1.2.6

Describe the bug

Tracker-card.js apparently fails to download from github and can't be found, causing subject error. Custom_updater component is installed OK (except for mode error), it's just the card won't display. I saw another user had reported a similar issue and had to resort to copying the tracker-card.js to www (as it used to be done).

Custom element doesn't exist: tracker-card. { "type": "custom:tracker-card", }

custom_updater configuration

custom_updater:   # (version = ‘4.2.15’)
  component_urls: https://raw.githubusercontent.com/pnbruckner/homeassistant-config/master/custom_components.json
#mode: storage
  track:
    - components

NOTE: I temporarily commented out mode: storage since it causes another error:

Failed config
  custom_updater: 
    - Invalid config for [custom_updater]: [mode] is an invalid option for [custom_updater]

Resources in lovelace configuration

resources:
  - type: module
    url: /customcards/github/custom-cards/tracker-card.js?track=true

Tracker-card configuration

type: 'custom:tracker-card'

Debug log


2019-03-01 09:03:12 WARNING (MainThread) [homeassistant.loader] You are using a custom component for custom_updater which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-03-01 09:03:16 INFO (MainThread) [custom_components.custom_updater] if you have ANY issues with this, please report them here: https://github.com/custom-components/custom_updater
2019-03-01 09:03:16 DEBUG (MainThread) [custom_components.custom_updater] Version 4.2.15
2019-03-01 09:03:16 DEBUG (MainThread) [custom_components.custom_updater] Mode storage
2019-03-01 09:03:16 DEBUG (MainThread) [custom_components.custom_updater] CustomCards - **init**
2019-03-01 09:03:16 DEBUG (MainThread) [custom_components.custom_updater] CustomComponents - **init**
2019-03-01 09:03:22 DEBUG (MainThread) [custom_components.custom_updater] CustomCards - extra_init
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(init_local_data) - Started
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(localcards) - Started
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(localcards) - Getting local cards with mode: storage
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(get_info_all_cards) - Started
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] Common(get_repo_data) - ['https://raw.githubusercontent.com/custom-cards/information/master/repos.json']
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(get_info_all_cards) - Updated stored data {'count': 56, 'cards': dict_keys(['aftership-card', 'alarm_control_panel-card', 'auto-entities', 'beer-card', 'beer-wishlist-card', 'bignumber-card', 'boilerplate-card', 'browser-commander', 'button-card', 'button-entity-row', 'canvas-gauge-card', 'card-loader', 'card-modder', 'card-tools', 'circle-sensor-card', 'color-glance-card', 'color-picker', 'column-card', 'compact-custom-header', 'config-template-card', 'entity-attributes-card', 'ext-weblink', 'flex-table-card', 'fold-entity-row', 'fullykiosk', 'gap-card', 'gauge-card', 'group-card', 'home-setter', 'homeassistant-gen', 'krisinfo-card', 'layout-card', 'light-entity-row', 'list-card', 'long-press', 'monster-card', 'pc-card', 'plan-coordinates', 'player', 'popup-card', 'rmv-card', 'roku-card', 'slider-entity-row', 'state-attribute-element', 'state-element', 'state-switch', 'surveillance-card', 'text-element', 'thermostat-card', 'time-input-row', 'toggle-lock-entity-row', 'tracker-card', 'upcoming-media-card', 'useful-markdown-card', 'username-element', 'vertical-stack-in-card'])}
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(storage_resources) - Started
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(storage_resources) - [{'type': 'js', 'url': '/customcards/github/custom-cards/tracker-card.js?track=true'}]
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(localcards) - ['tracker-card']
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(localcards) - ['https://raw.githubusercontent.com/custom-cards/tracker-card/master/']
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(get_info_all_cards) - Started
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(get_info_all_cards) - Using stored data
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - Started
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - {'action': 'set', 'name': 'tracker-card', 'version': None, 'dir': '/config/www/github/custom-cards/'}
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - None
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - Started
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - {'action': 'get', 'name': 'tracker-card', 'version': None, 'dir': None}
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - {'dir': '/config/www/github/custom-cards/', 'version': '1.2.6'}
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(init_local_data) - Setting path for tracker-card
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(get_card_dir) - Started
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - Started
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - {'action': 'get', 'name': 'tracker-card', 'version': None, 'dir': None}
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - {'dir': '/config/www/github/custom-cards/', 'version': '1.2.6'}
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - Started
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - {'action': 'set', 'name': 'tracker-card', 'version': None, 'dir': '/config/www/github/custom-cards/'}
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - None
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(get_card_dir) - /config/www/github/custom-cards/
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - Started
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - {'action': 'set', 'name': 'tracker-card', 'version': None, 'dir': '/config/www/github/custom-cards/'}
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - None
2019-03-01 09:03:22 DEBUG (MainThread) [custom_components.custom_updater] CustomCards - cache_versions
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(get_sensor_data) - Started
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(get_info_all_cards) - Started
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(get_info_all_cards) - Using stored data
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(get_sensor_data) - Number of cards: 56
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(get_sensor_data) - Cards: dict_keys(['aftership-card', 'alarm_control_panel-card', 'auto-entities', 'beer-card', 'beer-wishlist-card', 'bignumber-card', 'boilerplate-card', 'browser-commander', 'button-card', 'button-entity-row', 'canvas-gauge-card', 'card-loader', 'card-modder', 'card-tools', 'circle-sensor-card', 'color-glance-card', 'color-picker', 'column-card', 'compact-custom-header', 'config-template-card', 'entity-attributes-card', 'ext-weblink', 'flex-table-card', 'fold-entity-row', 'fullykiosk', 'gap-card', 'gauge-card', 'group-card', 'home-setter', 'homeassistant-gen', 'krisinfo-card', 'layout-card', 'light-entity-row', 'list-card', 'long-press', 'monster-card', 'pc-card', 'plan-coordinates', 'player', 'popup-card', 'rmv-card', 'roku-card', 'slider-entity-row', 'state-attribute-element', 'state-element', 'state-switch', 'surveillance-card', 'text-element', 'thermostat-card', 'time-input-row', 'toggle-lock-entity-row', 'tracker-card', 'upcoming-media-card', 'useful-markdown-card', 'username-element', 'vertical-stack-in-card'])
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(get_local_version) - Started
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - Started
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - {'action': 'get', 'name': 'tracker-card', 'version': None, 'dir': None}
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - {'dir': '/config/www/github/custom-cards/', 'version': '1.2.6'}
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(get_local_version) - 1.2.6
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(get_card_dir) - Started
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - Started
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - {'action': 'get', 'name': 'tracker-card', 'version': None, 'dir': None}
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(local_data) - {'dir': '/config/www/github/custom-cards/', 'version': '1.2.6'}
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(get_card_dir) - Using stored data for tracker-card
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomCards(get_sensor_data) - get_sensor_data: [{'domain': 'custom_cards', 'has_update': [], 'tracker-card': {'local': '1.2.6', 'remote': '1.2.6', 'has_update': False, 'not_local': False, 'repo': 'https://github.com/custom-cards/tracker-card', 'change_log': 'https://github.com/custom-cards/tracker-card'}}, 0]
2019-03-01 09:03:22 DEBUG (MainThread) [custom_components.custom_updater] CustomComponents - extra_init
2019-03-01 09:03:22 DEBUG (MainThread) [custom_components.custom_updater] CustomComponents - cache_versions
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_sensor_data) - Started with force True
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_info_all_components) - Started with force True
2019-03-01 09:03:22 DEBUG (MainThread) [pyupdate.log] Common(get_repo_data) - ['https://raw.githubusercontent.com/custom-components/information/master/repos.json', 'https://raw.githubusercontent.com/pnbruckner/homeassistant-config/master/custom_components.json']
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_info_all_components) - {'count': 41, 'components': dict_keys(['binary_sensor.hadockermon', 'binary_sensor.hue', 'camera.combined', 'camera.multisource', 'camera.unsplash', 'climate.e_thermostaat', 'config_check', 'custom_updater', 'device_tracker.hue', 'hassbian_config', 'media_player.braviatv_psk', 'sensor.authenticated', 'sensor.brewdog', 'sensor.ctabustracker', 'sensor.custom_aftership', 'sensor.feedparser', 'sensor.geoip', 'sensor.hue', 'sensor.kodi_recently_added', 'sensor.krisinformation', 'sensor.owlintuition', 'sensor.personalcapital', 'sensor.plex_recently_added', 'sensor.radarr_upcoming_media', 'sensor.rpi_power', 'sensor.sonarr_upcoming_media', 'sensor.ssh', 'sensor.trakt', 'sensor.unifigateway', 'sensor.untappd', 'sensor.weatheralerts', 'sensor.wienerlinien', 'sensor.yandex_maps', 'sensor.youtube', 'sickchill', 'switch.hadockermon', 'usps_mail', 'composite.device_tracker', 'life360.device_tracker', 'illuminance.sensor', 'sun'])}
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/hadockermon/binary_sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/hue/binary_sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/combined/camera.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/multisource/camera.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/unsplash/camera.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/e_thermostaat/climate.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/config_check/**init**.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/custom_updater.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - module 'custom_components.custom_updater' has no attribute '**version**'
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - 4.2.15
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/hue/device_tracker.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/hassbian_config.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/braviatv_psk/media_player.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/authenticated/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/brewdog/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/ctabustracker/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/custom_aftership/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/feedparser/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/geoip/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/hue/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/kodi_recently_added/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/krisinformation/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/owlintuition/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/personalcapital/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/plex_recently_added/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/radarr_upcoming_media/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/rpi_power/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/sonarr_upcoming_media/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/ssh/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/trakt/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/unifigateway/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/untappd/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/weatheralerts/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/wienerlinien/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/yandex_maps/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/youtube/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/sickchill/**init**.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/hadockermon/switch.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/usps_mail.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/composite/device_tracker.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/life360/device_tracker.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/illuminance/sensor.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) - Started for /config/custom_components/sun/**init**.py
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_local_version) -
2019-03-01 09:03:23 DEBUG (MainThread) [pyupdate.log] CustomComponents(get_sensor_data) - [{'domain': 'custom_components', 'has_update': ['custom_updater'], 'custom_updater': {'local': '4.2.15', 'remote': '4.2.16', 'has_update': True, 'not_local': False, 'repo': 'https://github.com/custom-components/custom_updater', 'change_log': 'https://github.com/custom-components/custom_updater/releases/tag/4.2.15'}}, 1]
2019-03-01 09:05:00 DEBUG (MainThread) [custom_components.custom_updater] Serving /customcards/github/custom-cards/tracker-card.js from /www/github/custom-cards/tracker-card.js>>
ludeeus commented 5 years ago

Mode is not a valid option anymore and can be removed, you have disabled card tracking by specifying components so it will not handle cards at all.

GaryOkie commented 5 years ago

Thanks for the advice. The tracker card is displaying now. It never occurred to me that in order for the card to display in the UI, that you were required to TRACK cards. I intentionally did not want to track cards at first because of this statement in your documentation:

If you use this component to upgrade custom cards, this has a lot of changes, if you only use it for component and/or python_scripts this will not change anything.

Well, not tracking cards certainly did change something critical - if you don't, the initial tracker-card.js will not download. So unless you had an old tracker.card.js previously installed, then you will get the error as I described here. That makes sense now, but the documentation, which I followed very closely, did not help me recognize that.

So I have a new problem - my custom components (from pnbruckner) are not being tracked in the card. I have them listed in the configuration.yaml under the custom_updater: Do they also need to be added to the trackers config in the tracker-card as well? That did not use to be required.

ludeeus commented 5 years ago

That is not a requirement. What are the full path to the file it does not track?

GaryOkie commented 5 years ago

This is the URL entry in configuration.yaml. .. There are actually 2 custom components that I am using from this repo - "composite" and "life360" that I want to track.

custom_updater:
  component_urls: https://raw.githubusercontent.com/pnbruckner/homeassistant-config/master/custom_components.json
ludeeus commented 5 years ago

That is fine, but where are the files located?

GaryOkie commented 5 years ago

/root/config/custom_components/composite/device_tracker.py /root/config/custom_components/life360/device_tracker.py

ludeeus commented 5 years ago

your logs say that it track those files but did not find it (yesterday) can you paste new logs?

GaryOkie commented 5 years ago

will do - but the log is huge, even right after startup. (The previous log above, I cherry picked relevant info). for some reason, I am getting debug output for ALL of the components even though I only have this specified.

 logger:
   logs:
     default: error
     custom_components.custom_updater: debug
     pyupdate: debug
ludeeus commented 5 years ago

Your default is not correct placed :)

GaryOkie commented 5 years ago

Ah! Much better. "check config" didn't catch that, but you did! Thanks.

I've edited the original debug log above and replaced it with the latest complete log. In addition, I get these 2 warnings which show that HA is recognizing these custom components OK...

You are using a custom component for composite.device_tracker which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant. 9:03 AM loader.py (WARNING) You are using a custom component for life360.device_tracker which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant. 9:03 AM loader.py (WARNING)

ludeeus commented 5 years ago

Oh... I see the issue, the structure of the json file is not in the expected format..

GaryOkie commented 5 years ago

Great. Do you want to ask Phil @pnbruckner to fix it with your specific advice? I can open an issue with him if you would prefer.

ludeeus commented 5 years ago

I can open a PR to correct it when I get home (if no one beats me to it) :)

pnbruckner commented 5 years ago

@ludeeus

Oh... I see the issue, the structure of the json file is not in the expected format..

What is the expected format? I haven't changed anything recently, other than to deal with the whole "great migration" mess, and to use the new resources option for the custom sun component, but I thought you agreed I did that correctly.

What exactly do I need to change now?

GaryOkie commented 5 years ago

Thanks very much! I was comparing his custom_components.json to your documentation and nothing jumped out to me as an improper format. Did the docs not get updated yet with the proper format?

Also, would you mind updating the custom_updater wiki to remove that mode statement that is no longer required? Maybe also something about if you remove the tracker_card.js from www that you must enable custom card tracking in order for the new tracker card to download.

ludeeus commented 5 years ago

@GaryOkie someone beat me to it

but I thought you agreed I did that correctly.

@pnbruckner I'm sorry, I must have been unclear at some point...

Did the docs not get updated yet with the proper format?

There was nothing to update really, but I added an extra section about a week ago to try and make it clear (which I failed...)

Also, would you mind updating the custom_component doc to remove that mode statement that is no longer required?

Where is that mode section?

Maybe also something about if you remove the tracker_card.js from www that you must enable custom card tracking in order for the new tracker card to download.

Added to tracker-card "docs"

pnbruckner commented 5 years ago

@ludeeus

I still have no idea what I'm supposed to do.

GaryOkie commented 5 years ago

Where is that mode section?

I went looking for it and can no longer find it. I think it was spelled out in the custom_updater installation wiki

I remember seeing:

      custom_updater:  
         mode: storage

There was also verbiage about mode being a new cool thing for Lovelace, but I don't find any of that now.

ludeeus commented 5 years ago

It was there (when it was a thing) I removed it when it was no longer supported ;)

ludeeus commented 5 years ago

@GaryOkie this should now show up as expected.

GaryOkie commented 5 years ago

Hi @ludeeus - Yes! the tracker custom components are indeed showing up now after an HA restart. Thanks! Was this a change you made?

I see that the custom_updater is showing a new version, but I will need to manually update it as this updater tool won't update itself until a later fix, right?

GaryOkie commented 5 years ago

@ludeeus - regarding that mode option that is no longer supported, I just found where it is still documented in the release 4.0.0 instructions....

Storage mode for lovelace is now supported. To enable this download this version then add mode: storage to your configuration.

custom_updater: mode: storage

ludeeus commented 5 years ago

Yes! the tracker custom components are indeed showing up now after an HA restart. Thanks! Was this a change you made?

nope, that is a result of https://github.com/pnbruckner/homeassistant-config/pull/108

I see that the custom_updater is showing a new version, but I will need to manually update it as this updater tool won't update itself until a later fix, right?

See this https://github.com/custom-components/custom_updater/issues/115 :)

regarding that mode option that is no longer supported, I just found where it is still

I see, it still belongs there, since it was valid for that version.