Sabbath Mode to be Added to Routines Update

Add this rule to turn on Shabbat mode as Shabbat begins:

[
  {
    "every": {
      "specific": {
        "daysOfWeek": [
          "Fri"
        ],
        "reference": "Sunset",
        "offset": {
          "value": {
            "integer": -18
          },
          "unit": "Minute"
        }
      },
      "actions": [
        {
          "command": {
            "devices": [
              "DEVICEID" #replace this with your device ID
            ],
            "commands": [
              {
                "component": "main",
                "capability": "samsungce.sabbathMode",
                "command": "on"
              }
            ]
          }
        }
      ]
    }
  }
]

And, this one to turn it off after Shabbat:

[
  {
    "every": {
      "specific": {
        "daysOfWeek": [
          "Sat"
        ],
        "reference": "Sunset",
        "offset": {
          "value": {
            "integer": 72
          },
          "unit": "Minute"
        }
      },
      "actions": [
        {
          "command": {
            "devices": [
              "DEVICEID" #replace this with your device ID
            ],
            "commands": [
              {
                "component": "main",
                "capability": "samsungce.sabbathMode",
                "command": "off"
              }
            ]
          }
        }
      ]
    }
  }
]