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

Fix color temp for lights #215

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions custom_components/govee/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,19 +293,19 @@ def brightness(self):
return self._device.brightness + 1

@property
def color_temp(self):
def color_temp_kelvin(self):
"""Return the color_temp of the light."""
return self._device.color_temp

@property
def min_color_temp_kelvin(self):
"""Return the coldest color_temp that this light supports."""
return COLOR_TEMP_KELVIN_MAX
return COLOR_TEMP_KELVIN_MIN

@property
def max_color_temp_kelvin(self):
"""Return the warmest color_temp that this light supports."""
return COLOR_TEMP_KELVIN_MIN
return COLOR_TEMP_KELVIN_MAX

@property
def extra_state_attributes(self):
Expand Down