Disabling mute LEDs on Voice PE

I just got my Voice PE and am enjoying tinkering with it.

I see that the LED ring is exposed as a light entity on the device; however, even when it is turned off, the device will display one red LED when the volume is turned to 0, and/or two red LEDs when the microphone is muted.

I’d like to place one of these devices in my bedroom, but when I’m sleeping, I’d like the microphone and speakers to be muted and all LEDs disabled, as I don’t like extra lights in my bedroom when I’m trying to sleep.

I don’t mind them during daylight hours, however, so I’m not looking to disable them permanently—just during certain hours. Ideally, there’d just be a simple boolean I could switch on or off.

Is this doable?

It would probably be a good feature request to make it configurable. But since it’s all controlled from ESPHome, you can change whatever you like - the downside being you don’t get future code enhancements without manual intervention.

To do this, edit the device’s YAML in ESPHome, remove the package reference and include the whole source (from here). You’d also have to merge the two substitutions sections. Then you could change the script called control_leds_muted_or_silent to turn the LED off rather than on. Install it to test the changes.

As far as I know it is not possible to keep the package reference and simply override the script.

1 Like

Thank you, that’s kind of what I suspected.

There’s an open issue on Github for allowing this kind of behavior. Hopefully, it gains some traction.