sidoh / esp8266_milight_hub

Replacement for a Milight/LimitlessLED hub hosted on an ESP8266
MIT License
948 stars 220 forks source link

Color Status not updating on Home Assistant #852

Open ArshSoni opened 1 day ago

ArshSoni commented 1 day ago

Describe the bug

After updating MilightHub to 1.13.0, Home Assistant no longer shows the correct brightness/color attributes on entities.

Screenshot 2024-11-23 at 17 33 55 Screenshot 2024-11-23 at 17 34 13

Steps to reproduce

Expected behavior

Setup information

Firmware version

Output of http://milight-hub.local/about

"... /about output. put between the ```s"

Output of http://milight-hub.local/settings

"... /settings output. put between the ```s"

Additional context

Jojo-1000 commented 1 day ago

Hi, I am using it with home assistant on this version and the color is updating correctly. Can you check what MQTT is received? You can subscribe to milight/state/# on the device settings for MQTT to see what it gets. Mine looks like this: Topic milight/state/0xA4A8/rgb_cct/1

{
    "state": "ON",
    "brightness": 82,
    "color": {
        "r": 133,
        "g": 255,
        "b": 119
    },
    "color_mode": "rgb"
}

The one thing that doesn't work is if you control multiple lights at once using the controls for all.