home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.68k stars 30.81k forks source link

Dual white lights not working properly on a Milight V6 bridge #11360

Closed Archiefkast closed 6 years ago

Archiefkast commented 6 years ago

Make sure you are running the latest version of Home Assistant before reporting an issue.

You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:

Home Assistant release (hass --version): 0.60.0

Python release (python3 --version): 3.5

Component/platform: Limitlessled

Description of problem: The Milight dual white lights were working properly when I had the Milight V5 bridge. I am now using a Milight V6 bridge and it comes with a new app (Milight 3.0). You can only link the dual white lights to a remote control that Home Assistant not uses for controlling the "white" lights.

Expected: Controlling the dual white lights should also be working on a Milight V6 bridge.

Problem-relevant configuration.yaml entries and steps to reproduce:


light:
  platform: limitlessled
  bridges:
    - host: !secret
      groups:
        - number: 1
          type: rgbw
          name: light living room
        - number: 2
          type: rgbw        
          name: light restroom
        - number: 1
          type: white        
          name: light bedroom
        - number: 2
          type: white        
          name: light hall
        - number: 3
          type: white        
          name: light kitchen

**Traceback (if applicable):**
```bash

Additional info: JustinP made a temporary fix to solve the issue locally (only on/off is working, brightness and colour temperature is not working). It is described here:

https://community.home-assistant.io/t/update-limitlessled-milight-component-v6-bridge-ibox/6248/203

MartinHjelmare commented 6 years ago

The linked fix was done in the limitlessled library. So that library probably needs to add support, release a new version, then we can upgrade home assistant to use the new version.

Archiefkast commented 6 years ago

I saw that their code is already updated. They put it online 14 days ago:

https://github.com/happyleavesaoc/python-limitlessled/blob/master/limitlessled/group/commands/v6.py

MartinHjelmare commented 6 years ago

That's good. We still need them to release a new version to pypi though, since that's how we pull the requirements into home assistant. Then we usually want a user that owns the device in question to make a PR to home assistant upgrading the library version, so that the user can verify that the new version works.

keesschollaart81 commented 6 years ago

Version 1.0.9 is now in PyPi...

Archiefkast commented 6 years ago

Thank you very much @keesschollaart81 !

rubenverhoef commented 6 years ago

When will home-assistant use the 1.0.9 version of python-Limitlessled ? My white only (1ch) dimmer is not working and i'm hoping it is with 1.0.9

MartinHjelmare commented 6 years ago

When someone that owns a limitless light and can test the new version makes a PR to home assistant with a version bump.