Skip to content

Commit

Permalink
Update trait.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DewGew authored Feb 5, 2024
1 parent ffd8fd7 commit 11cd16c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/trait.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def execute(device, command, params, user_id, challenge):
custom_data = device['customData']
idx = device['customData']['idx']
domain = device['customData']['domain']
check_state = customData['check_state']
check_state = custom_data['check_state']

if domain in ['Group', 'Scene']:
state = getDomoticzState(user_id, idx, 'scene')
Expand Down

0 comments on commit 11cd16c

Please sign in to comment.