We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23aa2b2 commit 2d414e2Copy full SHA for 2d414e2
actions/setWithTransition.json
@@ -20,7 +20,7 @@
20
],
21
"priority": 1,
22
"action": [
23
- "Z2M_SendSetCommand($_IPS['TARGET'], ['brightness' => $_IPS['Brightness'], 'transition' => $_IPS['TransitionTime']]);"
+ "Z2M_SendSetCommand($_IPS['TARGET'], ['brightness' => (int)($_IPS['Brightness']*254/100), 'transition' => $_IPS['TransitionTime']]);"
24
25
"restrictions": {
26
"objectType": [
0 commit comments