GithubHelp home page GithubHelp logo

aegjoyce / custom-ambilight Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 74 KB

A re-written Ambilight component that handles API quirks better.

License: Apache License 2.0

Python 100.00%
ambilight hacs hacs-integration home-assistant home-assistant-integration light philips

custom-ambilight's People

Contributors

aegjoyce avatar

Stargazers

 avatar

Watchers

 avatar

custom-ambilight's Issues

Maximum recursion depth exceeded error

Hi, loving this, managed to install this but I'm getting the below error...my TV is a Philips OLED 48/808....any help gratefully received...

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:239
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 20:43:14 (5 occurrences)
Last logged: 20:46:22

[140220322288576] Unexpected exception
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 239, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2738, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2779, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 975, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1047, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 627, in async_handle_light_on_service
    await light.async_turn_on(**filter_turn_on_params(light, params))
  File "/config/custom_components/custom_ambilight/light.py", line 81, in async_turn_on
    await self.api.turn_on(**kwargs)
  File "/config/custom_components/custom_ambilight/api.py", line 253, in turn_on
    await self.turn_on(**self.previous_state)
  File "/config/custom_components/custom_ambilight/api.py", line 253, in turn_on
    await self.turn_on(**self.previous_state)
  File "/config/custom_components/custom_ambilight/api.py", line 253, in turn_on
    await self.turn_on(**self.previous_state)
  [Previous line repeated 985 more times]
  File "/config/custom_components/custom_ambilight/api.py", line 186, in turn_on
    current_brightness = self.get_brightness()
                         ^^^^^^^^^^^^^^^^^^^^^
RecursionError: maximum recursion depth exceeded

other way getting credentials?

i cant get the linked script to run to get credentials. is there a other way to get it?

sorry, had to install urllib3 manually and update pip3

python3 -m pip install urllib3
pip3 install --upgrade pip wheel setuptools requests

issue can get deleted. sorry :(

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.