Skip to content

Commit 2d414e2

Browse files
author
Michael Tröger
committed
no message
1 parent 23aa2b2 commit 2d414e2

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)