Skip to content

Commit

Permalink
Make DIY mode work for dimmer
Browse files Browse the repository at this point in the history
  • Loading branch information
theyosh committed Oct 5, 2024
1 parent f88b7b3 commit 89a7dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardware/relay/sonoff_relay.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def _set_hardware_value(self, state):
# request switch on and specified brightness
# switch must be on, mode 0, brightness between brightmin and brightmax
data = terrariumUtils.get_remote_data(
f"{self.device}/switch",
f"{self.device}/dimmable",
json=True,
post={
"deviceid": "",
Expand Down

0 comments on commit 89a7dad

Please sign in to comment.