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

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
DewGew committed Jan 2, 2023
1 parent 967ee45 commit b29ae42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trait.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def execute(self, command, params):
url = DOMOTICZ_URL + '/json.htm?type=command&param=switchlight&idx=' + self.state.id + '&switchcmd='
if params['on'] is True and state == 'Off':
url += 'On'
else params['on'] is False and state == 'On':
elif params['on'] is False and state == 'On':
url += 'Off'


Expand Down

0 comments on commit b29ae42

Please sign in to comment.