I’ve been trying to create a rule that could fade a light or change volume over a period of time by using the “every” action but I’ve been unable to get anything to work - and even if I did I’m not sure how to limit it to a period of time or stop it after a number of cycles. Does the functionality exists to create this?
Below is a basic iteration of what I’ve tried most recently:
{
"name": "Sonos Increase Volume",
"actions": [
{
"every": {
"interval": {
"value": {
"integer": 2
},
"unit": "Minute"
},
"actions": [
{
"command": {
"devices": [
"Sonos_group"
],
"commands": [
{
"component": "main",
"capability": "mediaGroup",
"command": "setGroupVolume",
"arguments": [
{
"integer": +1
}
]
}
]
}
}
]
}
}
]
}