Git Product home page Git Product logo

taskerha's Issues

Setup Issue

Hi, this looks great. I'm having an issue with setting up the integration in HA:

This error originated from a custom integration.


Logger: custom_components.tasker
Source: custom_components/tasker/__init__.py:319
Integration: Tasker (documentation)
First occurred: 1:59:55 PM (36 occurrences)
Last logged: 2:52:05 PM

Error on first refresh
Traceback (most recent call last):
  File "/config/custom_components/tasker/__init__.py", line 319, in async_config_entry_first_refresh
    await self.async_fetch_all()
  File "/config/custom_components/tasker/__init__.py", line 429, in async_fetch_all
    g.name for g in await self.client.async_get_globals() or []
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/taskerapi/__init__.py", line 431, in async_get_globals
    global_vars = [
                  ^
  File "/usr/local/lib/python3.11/site-packages/taskerapi/__init__.py", line 432, in <listcomp>
    TaskerGlobalDecoded(**g) for g in
    ^^^^^^^^^^^^^^^^^^^^^^^^
  File "<string>", line 5, in __init__
  File "/usr/local/lib/python3.11/site-packages/taskerapi/typing.py", line 67, in __post_init__
    self.value = base64.b64decode(self.value).decode('ascii')
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 148: ordinal not in range(128)

I populate the Host field with my phone IP address then submit the integration. I then get a notice on my phone to allow the API key generation, I then enter my phone PIN, the screen in HA says 'Success' but then fails to load the integration with this error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.