Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

light.py scene list update request #872

Open
SergeantPup opened this issue Jun 15, 2022 · 0 comments
Open

light.py scene list update request #872

SergeantPup opened this issue Jun 15, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@SergeantPup
Copy link

SergeantPup commented Jun 15, 2022

The problem

Ver 4.0.0
I have Atomi lights and they have a set of effects that one must manipulate in the yaml to get accurate. The scenes that are listed starting in line 67 of light.py are accurate for some devices but the atomi lights have a different set of effects (all other functionality is the same). I have the yaml for my lights but every time Local Tuya gets an update, it gets wiped out and I have to re-add it. I know replacing the lines in source code isn't appropriate (because it will cause the other lights to not work) so this would need to be added in addition to what's already in source code. Replacing the lines works for me because I don't have the other lights.

  - SCENE_LIST_RGBW_255 = {
    "White": "white",
    "Color": "colour",
    "chase": "scene5",
    "America": "scene7",
    "Fade": "scene2",
    "Pulse": "scene3",
    "Blink": "scene4",
    "Christmas": "scene6",
    "Pick 2": "scene8",
    "Rainbow": "scene9",
}

2022-06-14 22_34_05-Greenshot

This is just a pull request to have the source code updated to accommodate the effects for these lights without wiping it out after each Local Tuya update.

@SergeantPup SergeantPup added the bug Something isn't working label Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant