Skip to content
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

Entities issues #6

Open
millercentral opened this issue Apr 13, 2023 · 5 comments
Open

Entities issues #6

millercentral opened this issue Apr 13, 2023 · 5 comments

Comments

@millercentral
Copy link

millercentral commented Apr 13, 2023

Just installed in HA 2023.4.1. Provided the IP of the controller, and it was found. The integration lists one device, but says there are no entities associated with that device.

The entities (and scenes) were created and do work to turn the lights on/off. However, but they don't have any associated device, and when you click on the Settings option in Settings > Devices & Services > Entities > light entity, it gives an error: "This entity () does not have a unique ID, there its settings cannot be managed from the UI." Lastly, the entities are marked as "Read Only" in the Status column of the entity list as well (even though the status can be changed).

Also, it does not appear that the entity updates if the status of the light was changed outside of home assistant (ie through the Luxor app or a Luxor-managed schedule).

Feature requests:

  • Configurable polling interval for all entities to keep light status up to date.
  • Luxor Groups (aka Lights) include a parent Device object in the Integration. Include a device sensor that indicates last update time.
  • Associate Luxor Scenes with the Controller Device
  • Create a Device Service command for Light devices to apply a "Luxor Color Preset" to the light.
  • Create a Device Service command for the Controller device to change the color of a Luxor Color Preset

Really happy to see this working and the progress. Let me know if I can help test any improvements. THANKS!

@millercentral millercentral changed the title Entities don't associate with the integration device Entities issues Apr 13, 2023
@wr420
Copy link

wr420 commented Apr 25, 2023

I am also having a similar problem. I posted over here. I included details about firmware/versions etc..

I forgot to mention I am connected to the Luxor FX device via Ethernet not wifi.
I'm not sure if it makes a difference
I was reading on the github for "Go hxxp://golang.org/ (#golang)" library and it says - via its wifi module protocol.

@dcramer
Copy link
Owner

dcramer commented May 9, 2023

Sorry yall I've not had time to look into this. I will say I've found the integration even flakey on my end, and I think more recently its been in a mostly-broken state (no idea what changed).

@dronenb
Copy link
Contributor

dronenb commented Jun 11, 2023

Hi all, I took a look at this. What is the intent here? Should there be a device per group and a device per theme (IE one device per entity)? If that is the case, the reason this doesn't work is that each entity needs to have a unique_id attribute and the device_info method needs to return a DeviceInfo object. I got that part working, I can make a PR if you want.

Alternatively, should every entity be associated with the same device? If so it seems like the "identifiers" part of the DeviceInfo needs to be set to the parent object for it to get registered to the controller device that gets created....

@dronenb
Copy link
Contributor

dronenb commented Jun 11, 2023

I think architecturally, it makes sense to have each "group" be a separate device, each with a light entity, and each "theme" be a scene that exists within the controller device.

@dcramer
Copy link
Owner

dcramer commented Jun 12, 2023

@dronenb iirc that is correct (group => device, theme => scene) - I will say Luxor's pov on this stuff isnt amazing (like its not super flexible).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants