Git Product home page Git Product logo

Comments (12)

dave-code-ruiz avatar dave-code-ruiz commented on September 22, 2024 1

Thnks @dwaned too for your support

from elkbledom.

dave-code-ruiz avatar dave-code-ruiz commented on September 22, 2024

Ok probably you have and error in your log

Please post error here.

If you dont know how to, please search how to in other issue i explain it

from elkbledom.

doudigit avatar doudigit commented on September 22, 2024

@dave-code-ruiz i got the same problem. Here is the log

`
Logger: homeassistant.components.light
Source: helpers/entity_platform.py:619
Integration: Light (documentation, issues)
First occurred: 05:36:20 (6 occurrences)
Last logged: 05:55:55

Error adding entities for domain light with platform elkbledom
Error while setting up elkbledom platform for light
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 510, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 619, in _async_add_entity
device = dev_reg.async_get(self.hass).async_get_or_create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: homeassistant.helpers.device_registry.DeviceRegistry.async_get_or_create() got multiple values for keyword argument 'config_entry_id'
`

from elkbledom.

tracedebrake avatar tracedebrake commented on September 22, 2024

Same as #32

from elkbledom.

LexMrack avatar LexMrack commented on September 22, 2024

After updating HA to 2023.8.0, I had the same thing. After the rollback to 2023.7, everything came back.
После обновления HA на 2023.8.0 у меня было тоже самое. После отката на 2023,7 вернулось всё обратно.

from elkbledom.

tracedebrake avatar tracedebrake commented on September 22, 2024

image

There was a change in 2023.8; he must adapt his code to home-assistant/core#95547

It'll be broken as long as he or someone else fix it. Might give it a shot.

from elkbledom.

dave-code-ruiz avatar dave-code-ruiz commented on September 22, 2024

Sorry i am on vacation in August

Bad month for broke core code

May be fix it in long time, Sorry for the inconvenience.

from elkbledom.

dave-code-ruiz avatar dave-code-ruiz commented on September 22, 2024

I can accept an other user PR if someone do it

from elkbledom.

tracedebrake avatar tracedebrake commented on September 22, 2024

Change proposed in light.py

That function is meant to return a DeviceInfo as defined here https://github.com/home-assistant/core/blob/614f3c6a15713aa762269f7c628d4420987cbd4c/homeassistant/helpers/entity.py#L177
So it was probably working by accident before

from elkbledom.

tracedebrake avatar tracedebrake commented on September 22, 2024

OK everybody, issue is fixed. Debugged it on a sunday morning on the toilet so you all owe me a beer.

@dave-code-ruiz can close #32 and #34

Might take a look at #33 soon.

Have a great summer everybody.

from elkbledom.

dwaned avatar dwaned commented on September 22, 2024

Thank you! Fix is confirmed 🍻 🍺

from elkbledom.

dave-code-ruiz avatar dave-code-ruiz commented on September 22, 2024

@tracedebrake thnks for your help in my vacations

from elkbledom.

Related Issues (20)

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.