Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

Commit

Permalink
🐛 Fix Light Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverlevay committed Oct 10, 2023
1 parent 469768f commit f236b93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/components/LightsController.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export default function LightsController() {
red: whiteDown === 0 ? red : 0,
green: whiteDown === 0 ? green : 0,
blue: whiteDown === 0 ? blue : 0,
white_up: whiteUp * 2.55,
white_down: whiteDown * 2.55,
white_up: Math.ceil(whiteUp * 2.55),
white_down: Math.ceil(whiteDown * 2.55),
authToken: session?.accessToken,
};
const response = await fetch('/api/lights', {
Expand Down

0 comments on commit f236b93

Please sign in to comment.