Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 16, 2024
1 parent ae3a727 commit 3c16d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/adaptive_lighting/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,7 @@ async def update_hue_run(self, service_data: ServiceData):
scene = self.hue_bridge.scenes[scene_id]
if self.hue_keyword in scene.name:
color_temp = color_temperature_kelvin_to_mired(
service_data[ATTR_COLOR_TEMP_KELVIN]
service_data[ATTR_COLOR_TEMP_KELVIN],
)
brightness = round(254 * self._settings["brightness_pct"] / 100)
_LOGGER.debug(
Expand Down

0 comments on commit 3c16d17

Please sign in to comment.