After populating client_key, client_secret & grant code (when prompted), the log indicates that there was an error when trying to update data from the Skydrop API. I can see in the config/.storage/skydrop_store file that both an "access" & "refresh" token were retrieved, with a expiry that is still valid.
I tried configuring both with the Integrations page as well as the configuration.yaml, same issue.
Also, is there a "specific" redirect_uri that should be added to the Skydrop Application registration or will any redirect_uri work (such as "https://www.getpostman.com/oauth2/callback")?
2020-05-04 22:28:56 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for skydrop which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-05-04 22:29:09 DEBUG (MainThread) [homeassistant.bootstrap] Setting up {'input_boolean', 'scene', 'neato', 'input_select', 'websocket_api', 'sun', 'switch', 'device_tracker', 'unifi', 'ring', 'zone', 'ssdp', 'script', 'persistent_notification', 'ffmpeg', 'default_config', 'mqtt', 'media_player', 'glances', 'roku', 'input_text', 'zeroconf', 'sensor', 'history', 'hacs', 'skydrop', 'input_datetime', 'input_number', 'webhook', 'map', 'device_automation', 'http', 'climate', 'alarm_control_panel', 'frontend', 'tesla', 'zwave', 'system_health', 'onboarding', 'discovery', 'light', 'conversation', 'updater', 'group', 'notify', 'water_heater', 'ipp', 'lovelace', 'mobile_app', 'api', 'pi_hole', 'binary_sensor', 'panel_custom', 'config', 'met'}
2020-05-04 22:29:11 INFO (MainThread) [homeassistant.setup] Setting up skydrop
2020-05-04 22:29:11 INFO (MainThread) [homeassistant.setup] Setup of domain skydrop took 0.0 seconds.
2020-05-04 22:29:15 INFO (MainThread) [custom_components.skydrop] skydrop 0.0.1 https://github.com/snicker/skydrop_hass/issues starting...
2
2020-05-04 22:29:51 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event hacs/repository[L]: id=1337, action=registration, repository=snicker/skydrop_hass, repository_id=None>
2020-05-04 22:30:23 ERROR (MainThread) [custom_components.skydrop] Could not update data -
2020-05-04 22:30:23 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=skydrop>
2020-05-04 22:30:23 INFO (MainThread) [homeassistant.components.switch] Setting up switch.skydrop
2020-05-04 22:30:23 DEBUG (MainThread) [homeassistant.bootstrap] Setting up {'camera', 'alexa', 'auth', 'person', 'hassio', 'automation', 'search'}
2020-05-04 22:30:23 DEBUG (SyncWorker_15) [custom_components.skydrop.switch] Added []
2020-05-04 22:30:23 INFO (MainThread) [homeassistant.setup] Setting up hassio
2020-05-04 22:30:23 INFO (MainThread) [custom_components.skydrop.switch] 0 Skydrop switch(es) added
20
2020-05-04 22:30:30 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1765045680] Sending {'id': 13, 'type': 'result', 'success': True, 'result': {'latitude': 30.181767792090575, 'longitude': -95.49165129661561, 'elevation': 50, 'unit_system': {'length': 'mi', 'mass': 'lb', 'pressure': 'psi', 'temperature': '°F', 'volume': 'gal'}, 'location_name': 'Home', 'time_zone': 'America/Chicago', 'components': {'binary_sensor.tesla', 'neato', 'sun', 'switch.wake_on_lan', 'device_tracker', 'unifi', 'script', 'automation', 'sensor.neato', 'default_config', 'mqtt', 'glances', 'vacuum.neato', 'logger', 'switch.neato', 'remote', 'device_tracker.tesla', 'http', 'frontend', 'scene.homeassistant', 'sensor.zwave', 'sensor.yr', 'light.ring', 'discovery', 'device_tracker.mobile_app', 'light', 'search', 'group', 'notify', 'recorder', 'camera.ring', 'water_heater.econet', 'api', 'pi_hole', 'panel_custom', 'notify.group', 'input_boolean', 'switch.template', 'climate.mqtt', 'switch', 'camera.neato', 'sensor.mqtt', 'tts', 'roku', 'switch.zwave', 'stt', 'wake_on_lan', 'history', 'webhook', 'device_automation', 'sensor.command_line', 'weather.met', 'weather', 'binary_sensor.mobile_app', 'alarm_control_panel.mqtt', 'sensor.template', 'binary_sensor.mqtt', 'sensor.mobile_app', 'hassio', 'light.zwave', 'updater', 'light.mqtt', 'logbook', 'person', 'fan', 'lock.zwave', 'scene', 'sensor.systemmonitor', 'sensor.tesla', 'persistent_notification', 'ffmpeg', 'media_player', 'auth', 'input_text', 'sensor', 'switch.skydrop', 'skydrop', 'vacuum', 'media_player.roku', 'map', 'alexa', 'binary_sensor.zwave', 'onboarding', 'sensor.ipp', 'sensor.hacs', 'cover', 'sensor.pi_hole', 'lock', 'ipp', 'switch.tesla', 'mobile_app', 'config', 'cloud', 'camera', 'input_select', 'lock.tesla', 'websocket_api', 'binary_sensor.ring', 'switch.ring', 'zone', 'ssdp', 'ring', 'system_log', 'binary_sensor.updater', 'zeroconf', 'hacs', 'input_datetime', 'climate.zwave', 'input_number', 'climate', 'alarm_control_panel', 'tesla', 'notify.mobile_app', 'climate.tesla', 'zwave', 'system_health', 'binary_sensor.cloud', 'conversation', 'water_heater', 'fan.zwave', 'homeassistant', 'lovelace', 'sensor.ring', 'stream', 'remote.roku', 'binary_sensor', 'cover.zwave', 'met', 'switch.mqtt'}, 'config_dir': '/config', 'whitelist_external_dirs': {'/config/www'}, 'version': '0.109.3', 'config_source': 'storage', 'safe_mode': False}}
2020-05-04 22:30:30 DEBUG (MainThread) [homeassistant.helpers.translation] Cache miss for en, state: binary_sensor.tesla, neato, sun, switch.wake_on_lan, device_tracker, unifi, script, automation, sensor.neato, default_config, mqtt, glances, vacuum.neato, logger, switch.neato, remote, device_tracker.tesla, http, frontend, scene.homeassistant, sensor.zwave, sensor.yr, light.ring, discovery, device_tracker.mobile_app, light, search, group, notify, recorder, camera.ring, water_heater.econet, api, pi_hole, panel_custom, notify.group, input_boolean, switch.template, climate.mqtt, switch, camera.neato, sensor.mqtt, tts, roku, switch.zwave, stt, wake_on_lan, history, webhook, device_automation, sensor.command_line, weather.met, weather, binary_sensor.mobile_app, alarm_control_panel.mqtt, sensor.template, binary_sensor.mqtt, sensor.mobile_app, hassio, light.zwave, updater, light.mqtt, logbook, person, fan, lock.zwave, scene, sensor.systemmonitor, sensor.tesla, persistent_notification, ffmpeg, media_player, auth, input_text, sensor, switch.skydrop, skydrop, vacuum, media_player.roku, map, alexa, binary_sensor.zwave, onboarding, sensor.ipp, sensor.hacs, cover, sensor.pi_hole, lock, ipp, switch.tesla, mobile_app, config, cloud, camera, input_select, lock.tesla, websocket_api, binary_sensor.ring, switch.ring, zone, ssdp, ring, system_log, binary_sensor.updater, zeroconf, hacs, input_datetime, climate.zwave, input_number, climate, alarm_control_panel, tesla, notify.mobile_app, climate.tesla, zwave, system_health, binary_sensor.cloud, conversation, water_heater, fan.zwave, homeassistant, lovelace, sensor.ring, stream, remote.roku, binary_sensor, cover.zwave, met, switch.mqtt
2020-05-04 22:30:35 WARNING (MainThread) [homeassistant.helpers.translation] skydrop: the '.translations' directory has been moved, the new name is 'translations', starting with Home Assistant 0.111 your translations will no longer load if you do not move/rename this
2020-05-04 22:30:38 DEBUG (SyncWorker_10) [homeassistant.util.json] JSON file not found: /config/custom_components/skydrop/.translations/switch.en.json
Version of the custom_component
0.0.1
Configuration
Describe the bug
After populating client_key, client_secret & grant code (when prompted), the log indicates that there was an error when trying to update data from the Skydrop API. I can see in the
config/.storage/skydrop_storefile that both an "access" & "refresh" token were retrieved, with a expiry that is still valid.I tried configuring both with the Integrations page as well as the configuration.yaml, same issue.
Also, is there a "specific" redirect_uri that should be added to the Skydrop Application registration or will any redirect_uri work (such as "https://www.getpostman.com/oauth2/callback")?
Debug log