opened
Molodax
username_0
<!-- READ THIS FIRST:
- If you need additional help with this template please refer to https://www.home-assistant.io/help/reporting_issues/
- Make sure you are running the latest version of Home Assistant before reporting an issue: https://github.com/home-assistant/home-assistant/releases
- Frontend issues should be submitted to the home-assistant-polymer repository: https://github.com/home-assistant/home-assistant-polymer/issues
- iOS issues should be submitted to the home-assistant-iOS repository: https://github.com/home-assistant/home-assistant-iOS/issues
- Do not report issues for integrations if you are using a custom integration: files in <config-dir>/custom_components
- This is for bugs only. Feature and enhancement requests should go in our community forum: https://community.home-assistant.io/c/feature-requests
- Provide as many details as possible. Paste logs, configuration sample and code into the backticks. Do not delete any text from this template!
-->

**Home Assistant release with the issue:**
<!--
- Frontend -> Developer tools -> Info
- Or use this command: hass --version
-->
0.101.x(?)

**Last working Home Assistant release (if known):**
0.100.0

**Operating environment (Hass.io/Docker/Windows/etc.):**
<!--
Please provide details about your environment.
-->
Hass.io
**Integration:**
<!--
Please add the link to the documentation at https://www.home-assistant.io/integrations/ of the integration in question.
-->
https://www.home-assistant.io/integrations/logi_circle/

**Description of problem:**
I used the integration with Logi without problem but after one of the restarts, I don't have the integration anymore.


**Problem-relevant `configuration.yaml` entries and (fill out even if it seems unimportant):**
```yaml

```

**Traceback (if applicable):**
```
2019-11-10 21:31:54 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 73, in async_init
    return await self._async_handle_step(flow, flow.init_step, data)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 132, in _async_handle_step
    result: Dict = await getattr(flow, method)(user_input)
  File "/usr/src/homeassistant/homeassistant/components/logi_circle/config_flow.py", line 147, in async_step_code
    return await self._async_create_session(code)
  File "/usr/src/homeassistant/homeassistant/components/logi_circle/config_flow.py", line 166, in _async_create_session
    cache_file=self.hass.config.path(DEFAULT_CACHEDB),
  File "/usr/local/lib/python3.7/site-packages/logi_circle/__init__.py", line 40, in __init__
    logi_base=self)
  File "/usr/local/lib/python3.7/site-packages/logi_circle/auth.py", line 26, in __init__
    self.tokens = self._read_token()
  File "/usr/local/lib/python3.7/site-packages/logi_circle/auth.py", line 138, in _read_token
    data = pickle.load(open(filename, 'rb'))
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc8 in position 336: invalid continuation byte
```

**Additional information:**
Cannot integrate Logi Circle anymore
issue
created
evanjd
username_1
Do you mind trying the following?

1. Delete `.logi_cache.pickle` from your configuration folder.
2. Remove the integration from Configuration -> Integration.
3. Re-add the integration.
comment
created
Molodax
username_0
Thanks, @username_1 !
The issue seemed to be resolved.
comment
closed
Molodax
username_0
issue