{
    "sequences": [
        {
            "id": 1,
            "name": "arrosage",
            "timer": {
                "active": true,
                "start_time": "17:30",
                "recurrence": 1
            },
            "actions": [
                {
                    "device_id": "sprinkler/7",
                    "state": true,
                    "duration": 2
                },
                {
                    "device_id": "sprinkler/8",
                    "state": true,
                    "duration": 1
                }
            ]
        },
        {
            "id": 2,
            "name": "sapin",
            "timer": {
                "active": false,
                "start_time": "21:48",
                "recurrence": 0
            },
            "actions": [
                {
                    "device_id": "light/7",
                    "state": true,
                    "duration": 2
                }
            ]
        },
        {
            "id": 2,
            "name": "volet",
            "timer": {
                "active": false,
                "start_time": "09:00",
                "recurrence": 0
            },
            "actions": [
                [
                    {
                        "device_id": "shutters/1",
                        "state": true
                    },
                    {
                        "device_id": "shutters/2",
                        "state": true
                    }
                ],
                {
                    "duration": 60
                },
                [
                    {
                        "device_id": "shutters/1",
                        "state": false
                    },
                    {
                        "device_id": "shutters/2",
                        "state": false
                    }
                ],
                {
                    "device_id": "shutters/1",
                    "state": true,
                    "duration": 60
                },
                {
                    "device_id": "shutters/1",
                    "state": false
                }
            ]
        }
    ]
}
