-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError: "GroupedLight.owner
of type <class 'aiohue.v2.models.resource.ResourceIdentifier'>
is required."
#1032
Comments
GroupedLight.owner
of type <class 'aiohue.v2.models.resource.ResourceIdentifier'>
is required."
Hi your |
Same for me. It started after latest Homeassistant update |
update of home assistant or diyhue addon? |
Docker image of Homeassistant updated, I'm not sure if Hue addon or Homeassistant updated. |
As far as I know, I have never configured any groups. I use diyHue only for connecting my DIY lights (and original Hue lights via official hue bridge) to Home Assistant. Im regards to In regards to debug logging: I'll have to check tomorrow if I can switch it on and receive any more information out of it. |
the logs you show in the description are not from diyhue but from aiohue. |
found some interesting things about this.
|
As said, I have no idea what aiohue is. |
aiohue is used to connect to philips hue, is a component of HA. |
I may have grouped some of my original hue lights in groups and zones back when I have not been using Home Assistant yet.
|
Hi,
|
I have to look into this, this takes some time because i need to see if i can replicate this issue and see what aiohue is missing. |
It has something to do with this. |
I think I know what to do, whem im home I will make the changes. |
thanks a lot to have a look into this ! |
it should be fixed now. |
It works, thanks! |
thank you for the fast feedback. |
Sorry, I didn't understand before that you were talking about Home Assistant groups. The fix is also working for me. Thank you so much for fixing it so quickly! Feel free to close the issue. In case you want me to test it with a completely empty groups.yaml first to be sure, I can do it, but only sometime on Sunday. Just let me know. Cheers! |
the groups.yaml i was talking about is the one from diyhue, so if you have rooms/zones in the hue app it will be in there and also visible on the webui. |
Okay I see, sorry for the confusion. Thanks again! :) |
Same here, works like a charm. Merci beaucoup ! |
I’m confused. I’m running into this right now. What was the solution? |
Hi, what version of diyhue are running? |
I just recently installed it at the beginning of August.
…On Aug 28, 2024 at 02:40 -0500, Mark Hendriksen ***@***.***>, wrote:
Hi, what version of diyhue are running?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
When im home i will check this, can you share the logs from HA and the config_debuf.tar from diyhue |
I'm not sure how to get at the Here is the contents of the log from HomeAssistant for this:
|
You can find the config_debuf.tar on the webui of diyhue under diyhue>bridge>bridge control>full debug |
Had to recompress it to zip because github doesn't like tar files. |
you do not have the latest diyhue version, your version is from |
Ahhh I see. I just recreated (re-pulling) the container for DiyHue and it magically worked. :) Thanks. |
ow sorry then i misinterpreting that part of HA. |
I'm running version 2.0.15. The problem still occurs at my side when I add entertainment area's to the DiyHue hub. Difference in Group.yaml. The groups labeled as "Entertainment" dont have a owner. I tried adding an owner manually, but the owner row disappears after a restart:
|
Hi, i will test this when im home. I see now that the owner is specified in the apiv2. If you add this to the groups.yaml it will not be used because it is not yet in diyhue. Also if you add it and then restart with save it is overwritten. If you want to edit the config files shutdown diyhue and then edit the files and start diyhue. When im home I will change this. |
Remove unused import Add .000 to lastupdate Add diyhue info to apiV2 response Update apiV2 response Fix grouped.light error for entertainment #1032 Update openwrt install
I made a update, please update and give feedback |
After updating and rebuilding, it is now working. Thank you for the quick fix. |
Issue does not already exist?
I have searched and found no existing issue
Select Environment
Docker
Home Assistant related?
Yes
Description
Hello all,
today in the morning I noticed that my hue lights stopped working.
I updated diyHue to the newest version in hopes it would solve the problem but unfortunately it didn't.
The error remains the same after updating diyHue, deleting the Hue integration and readding diyHue bridge in HA.
I use watchtower to automatically update my HA docker container. Since 2024.7.4 has been released yesterday, it might be related to the update.
Errorlog:
diyhue.log
Steps to reproduce
Add diyHue bridge in the philips hue integration.
Please enter your operating system details here
Hue-Emulator Version: 2024-07-29 08:12:08.000000000 +0200
WebUI Version: 2024-07-27 21:16:38.000000000 +0200
Architecture: aarch64
OS: Linux
Linux version: #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023
Linux release: 6.1.21-v8+
Hardware: %Hardware%
Upload debug tar
config_debug.zip
What DiyHue version(branch) are you using?
master (latest)
The text was updated successfully, but these errors were encountered: