Add a dummy color temp (#2161)

This commit is contained in:
Daniel Hyles 2021-08-17 18:05:37 +10:00 committed by Jesse Hills
parent 9ee3463d07
commit cbdb96f105
No known key found for this signature in database
GPG key ID: BEAAE804EFD8E83A

View file

@ -19,6 +19,8 @@ class HBridgeLightOutput : public PollingComponent, public light::LightOutput {
light::LightTraits get_traits() override { light::LightTraits get_traits() override {
auto traits = light::LightTraits(); auto traits = light::LightTraits();
traits.set_supported_color_modes({light::ColorMode::COLD_WARM_WHITE}); traits.set_supported_color_modes({light::ColorMode::COLD_WARM_WHITE});
traits.set_min_mireds(153);
traits.set_max_mireds(500);
return traits; return traits;
} }