SwitchesTag: Of<{
    id: 67;
    tags: {
        Custom: {
            id: 8;
            label: "Custom";
        };
        Down: {
            id: 4;
            label: "Down";
        };
        EnterOkSelect: {
            id: 7;
            label: "Enter/OK/Select";
        };
        Next: {
            id: 5;
            label: "Next";
        };
        Off: {
            id: 1;
            label: "Off";
        };
        On: {
            id: 0;
            label: "On";
        };
        Previous: {
            id: 6;
            label: "Previous";
        };
        Toggle: {
            id: 2;
            label: "Toggle";
        };
        Up: {
            id: 3;
            label: "Up";
        };
    };
}> = ...

The tags contained in this namespace are restricted for use in the switches domain and shall NOT be used in any other domain or context. They are intended to indicate the function of a button on a switch device to allow a client to make an optimized user interface which matches the actual device without requiring a-priori knowledge of the layout of each specific switch device.

Please see the rules for applying these and other tags for switch devices, e.g. from the Common Position Namespace and the Common Number Namespace in the Generic Switch device type section in the Device Library.

Type declaration

  • Readonlyid: 67
  • Readonlytags: {
        Custom: {
            id: 8;
            label: "Custom";
        };
        Down: {
            id: 4;
            label: "Down";
        };
        EnterOkSelect: {
            id: 7;
            label: "Enter/OK/Select";
        };
        Next: {
            id: 5;
            label: "Next";
        };
        Off: {
            id: 1;
            label: "Off";
        };
        On: {
            id: 0;
            label: "On";
        };
        Previous: {
            id: 6;
            label: "Previous";
        };
        Toggle: {
            id: 2;
            label: "Toggle";
        };
        Up: {
            id: 3;
            label: "Up";
        };
    }
    • ReadonlyCustom: {
          id: 8;
          label: "Custom";
      }

      Textual description provided in Label field

      When this value is used, the Label field in the same Semantic Tag structure shall be filled with a textual description of the function indicated on the button, such as a label or icon printed on the button, e.g. "dining".

      MatterSpecification.v13.Namespace § 15.1

      • Readonlyid: 8
      • Readonlylabel: "Custom"
    • ReadonlyDown: {
          id: 4;
          label: "Down";
      }

      e.g. dim down (light)

      • Readonlyid: 4
      • Readonlylabel: "Down"
    • ReadonlyEnterOkSelect: {
          id: 7;
          label: "Enter/OK/Select";
      }
      • Readonlyid: 7
      • Readonlylabel: "Enter/OK/Select"
    • ReadonlyNext: {
          id: 5;
          label: "Next";
      }

      e.g. select next scene

      • Readonlyid: 5
      • Readonlylabel: "Next"
    • ReadonlyOff: {
          id: 1;
          label: "Off";
      }
      • Readonlyid: 1
      • Readonlylabel: "Off"
    • ReadonlyOn: {
          id: 0;
          label: "On";
      }
      • Readonlyid: 0
      • Readonlylabel: "On"
    • ReadonlyPrevious: {
          id: 6;
          label: "Previous";
      }

      e.g. select previous scene

      • Readonlyid: 6
      • Readonlylabel: "Previous"
    • ReadonlyToggle: {
          id: 2;
          label: "Toggle";
      }
      • Readonlyid: 2
      • Readonlylabel: "Toggle"
    • ReadonlyUp: {
          id: 3;
          label: "Up";
      }

      e.g. dim up (light)

      • Readonlyid: 3
      • Readonlylabel: "Up"

MatterSpecification.v13.Namespace § 15