Skip to content

Commit

Permalink
Fixed syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
connervieira committed Jun 14, 2024
1 parent 9bb36c4 commit 24c7a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lighting.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
def update_status_lighting(url_id):
global current_status_light_id
debug_message("Updating status lighting")
if (url_id !== current_status_light_id): # Check to see if the status light URL ID is different from the current state of the lights.
if (url_id != current_status_light_id): # Check to see if the status light URL ID is different from the current state of the lights.
current_status_light_id = url_id
if (config["general"]["status_lighting"]["enabled"] == True): # Only update the status lighting if it is enabled in the configuration.
status_lighting_update_url = str(config["general"]["status_lighting"]["values"][url_id]).replace("[U]", str(config["general"]["status_lighting"]["base_url"])) # Prepare the URL where a request will be sent in order to update the status lighting.
Expand Down

0 comments on commit 24c7a10

Please sign in to comment.