Skip to content

Commit

Permalink
Update libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
theyosh committed Jul 2, 2023
1 parent c614a03 commit 8879e22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hardware/relay/pwm-dimmer_relay.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def _set_hardware_value(self, state):
self.device.hardware_PWM(
terrariumUtils.to_BCM_port_number(self.address),
self._DIMMER_FREQ,
int(dim_value) * self._DIMMER_DUTY_CYCLE,
max(0, min(1000000, int(dim_value) * self._DIMMER_DUTY_CYCLE)),
)
self._dimmer_state = state

Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pip==23.1.2
setuptools==67.8.0
setuptools==68.0.0
wheel==0.40.0

# Database
Expand Down Expand Up @@ -43,7 +43,7 @@ PyMLX90614==0.0.4
pyownet==0.10.0.post1
veml6075==0.0.2
lib8relay==1.0.3
pylibftdi==0.20.0
pylibftdi==0.21.0
asyncio==3.4.3
python-kasa==0.5.1
meross-iot==0.4.5.9
Expand Down

0 comments on commit 8879e22

Please sign in to comment.