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

Allow RGB card to work with groups (seems to work fine) #80

Open
dave-vsdevs opened this issue Oct 11, 2023 · 0 comments
Open

Allow RGB card to work with groups (seems to work fine) #80

dave-vsdevs opened this issue Oct 11, 2023 · 0 comments

Comments

@dave-vsdevs
Copy link

dave-vsdevs commented Oct 11, 2023

"card.js" line 85

    if (config.entity && (config.entity.indexOf('light.') !== 0 && config.entity.indexOf('group.') !== 0)) {
        throw new Error(`Entity '${config.entity}' must be a light/group`);
    }

I am using the https://community.home-assistant.io/t/auto-light-grouping/516373 auto grouping blueprint because I did not want to manually maintain groups. Making the change above seems to work fine for groups.

There might be some reason this causes problems further down the line but seems ok so far

I see this is a duplicate of #67 and a few others. But maybe the code will help somebody. Thanks for the CARD!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant