Other changes: * Set mode 0 = ct, 1 = hue, 2 = sat * on-long-* only change colors relatively for visual feedback
29 lines
473 B
JSON
29 lines
473 B
JSON
{
|
|
"name": "BASENAME.up-hold-sat",
|
|
"conditions": [
|
|
{
|
|
"address": "/sensors/MEMORY/state/status",
|
|
"operator": "gt",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"address": "/sensors/DIMMER/state/buttonevent",
|
|
"operator": "eq",
|
|
"value": "2001"
|
|
},
|
|
{
|
|
"address": "/sensors/DIMMER/state/lastupdated",
|
|
"operator": "dx"
|
|
}
|
|
],
|
|
"actions": [
|
|
{
|
|
"address": "/groups/GROUP/action",
|
|
"method": "PUT",
|
|
"body": {
|
|
"transitiontime": 1,
|
|
"sat_inc": 25
|
|
}
|
|
}
|
|
]
|
|
}
|