Open joshuaspence opened 2 years ago
Hi @joshuaspence were you able to toggle the laser independantly of the light?
@Lethal83 Yes, with the configuration posted above I can turn the laser on/off independently. The switch entity must be turned on though, but this doesn't directly control the light.
@rospogrigio Would you accept a PR to make MODE_COLOR
configurable? If not, do you have an alternative suggestion?
i have the same issues, i have the laser setup as a seperate light, works good The nebula itself is also a different light, works with HA but it turns off, and cant turn it on anymore... i need to use the smartlife app again to make it work....
Is there already some progress on this?
seems my DP are different tough, i use this setup: https://github.com/rospogrigio/localtuya/issues/297#issuecomment-995222641
thnx
The problem
I have the Mirabella Genio Wi-Fi Nebula & Star Projector but it doesn't quite work with
localtuya
. The problem seems to be https://github.com/rospogrigio/localtuya/blob/master/custom_components/localtuya/light.py#L351 and https://github.com/rospogrigio/localtuya/blob/master/custom_components/localtuya/light.py#L378. This light seems to be different than other Tuya lights in howcolor_mode
is handled. It doesn't seem to have awhite
orcolor
mode but rather hasmanual
,music
andscene
.Environment
Steps to reproduce
Configuration
configuration.yaml
orconfig_flow
DP dump
Provide Home Assistant taceback/logs
Additional information
It's obviously not the proper solution, but I commented out https://github.com/rospogrigio/localtuya/blob/master/custom_components/localtuya/light.py#L351 and https://github.com/rospogrigio/localtuya/blob/master/custom_components/localtuya/light.py#L378 and it fixed my problem.