Skip to content

Commit 614c52f

Browse files
authored
Merge pull request #49 from Nall-chan/dev
no message
2 parents 73d47b9 + 2d414e2 commit 614c52f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actions/setWithTransition.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
],
2121
"priority": 1,
2222
"action": [
23-
"Z2M_SendSetCommand($_IPS['TARGET'], ['brightness' => $_IPS['Brightness'], 'transition' => $_IPS['TransitionTime']]);"
23+
"Z2M_SendSetCommand($_IPS['TARGET'], ['brightness' => (int)($_IPS['Brightness']*254/100), 'transition' => $_IPS['TransitionTime']]);"
2424
],
2525
"restrictions": {
2626
"objectType": [

0 commit comments

Comments
 (0)