Giter Club home page Giter Club logo

lock.ttlock's People

Contributors

botts7 avatar tonyldo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lock.ttlock's Issues

Invalid Config

Hi There, wondering if you can help me understand what the issue is here

config eg:

ttlock:
  client_id: "757575757575757"
  client_secret: "757575757575757"
  access_token: "757575757575757"
  refresh_token: "757575757575757"

Debug - its referencing a folder in config that does not exist (ttlock)

2020-07-26 00:42:22 INFO (MainThread) [custom_components.blueprint] 
-------------------------------------------------------------------
ttlock
Version: 0.0.1
This is a custom integration
If you have any issues with this you need to open an issue here:
https://github.com/tonyldo/lock.ttlock/issues
-------------------------------------------------------------------

2020-07-26 00:42:22 INFO (MainThread) [custom_components.blueprint] Token File (/config/custom_components/ttlock/token.json) not exist.
2020-07-26 00:42:22 INFO (MainThread) [custom_components.blueprint] Generating a new Access token.
2020-07-26 00:42:28 INFO (MainThread) [homeassistant.setup] Setup of domain ttlock took 6.1 seconds.
2020-07-26 00:42:28 ERROR (MainThread) [homeassistant.setup] Setup failed for ttlock: Integration failed to initialize.

Error during setup of component ttlock

Received the following error on initial start of TTLock.

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 248, in _async_setup_component
result = await task
File "/config/custom_components/ttlock/init.py", line 94, in async_setup
hass.data[DOMAIN] = TTlock(hass, config)
File "/config/custom_components/ttlock/init.py", line 140, in init
self.redirect_url = f"{hass.config.api.base_url}/"
AttributeError: 'ApiConfig' object has no attribute 'base_url'

Detected use of deprecated `base_url` property

Configuration

Log Details (WARNING)
Logger: homeassistant.components.http
Source: components/http/__init__.py:180
Integration: HTTP (documentation, issues)
First occurred: 14:14:03 (1 occurrences)
Last logged: 14:14:03

Detected use of deprecated `base_url` property, use `homeassistant.helpers.network.get_url` method instead. Please report issue to the custom component author for ttlock using this method at custom_components/ttlock/__init__.py, line 140: self.redirect_url = f"{hass.config.api.base_url}/"

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.