esphome / esphome/feature-requests

E1.31 is not available on non addressable lights

Open
#3,572 7 comments 5 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

### The problem

```
Failed config

light.rgb: [source /config/esphome/oled-control.yaml:186]
platform: rgb
id: rgb_light
red: raw_r
green: raw_g
blue: raw_b
restore_mode: ALWAYS_OFF
effects:

The effect 'e131' is not allowed for this light type.
- e131:
universe: 1
channels: RGB
```
This issue is a duplicate, i was not able to find the original issue but it was marked as solved which it clearly isn't. There is also a [pull request](https://github.com/esphome/esphome/pull/5652) for this but it was abandoned and closed. The current workaround is to use a light partition to trick esphome into thinking the light is addressable like this:
```
light:
- platform: partition
name: "RGB strip"
segments:
- single_light_id: rgb_light
effects:
- e131:
universe: 1
channels: RGB

- platform: rgb
# name: "RGB strip" #if the name is commented then the entity is automatically made internal
# internal: True
id: rgb_light
red: raw_r
green: raw_g
blue: raw_b
restore_mode: ALWAYS_OFF
```

### Which version of ESPHome has the issue?

2025.10.4

### What type of installation are you using?

Home Assistant Add-on

### What platform are you using?

ESP32

### Component causing the issue

e131

### YAML Config

```yaml

```

### Anything in the logs that might be useful for us?

```txt

```

### Additional information

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.