[light] Use bitmask instead of std::set for color modes (#11348)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2025-10-20 07:48:14 +13:00
1 parent a0922bc8b0
commit fdecda3d65
12 files changed
+308 -59

No files matched your search

+1 -1
View File
@@ -790,7 +790,7 @@ class ListEntitiesLightResponse final : public InfoResponseProtoMessage {
#ifdef HAS_PROTO_MESSAGE_DUMP
const char *message_name() const override { return "list_entities_light_response"; }
#endif
const std::set<light::ColorMode> *supported_color_modes{};
const light::ColorModeMask *supported_color_modes{};
float min_mireds{0.0f};
float max_mireds{0.0f};
std::vector<std::string> effects{};