mirror of
https://github.com/esphome/esphome.git
synced 2024-12-26 15:34:53 +01:00
Add a dummy color temp (#2161)
This commit is contained in:
parent
9ee3463d07
commit
cbdb96f105
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@ class HBridgeLightOutput : public PollingComponent, public light::LightOutput {
|
|||
light::LightTraits get_traits() override {
|
||||
auto traits = light::LightTraits();
|
||||
traits.set_supported_color_modes({light::ColorMode::COLD_WARM_WHITE});
|
||||
traits.set_min_mireds(153);
|
||||
traits.set_max_mireds(500);
|
||||
return traits;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue