NotOffOnlyComponent: {
    commands: {
        on: Command<void, void, any>;
        toggle: Command<void, void, any>;
    };
}

A OnOffCluster supports these elements if doesn't support feature OFFONLY.

Type declaration

  • Readonlycommands: {
        on: Command<void, void, any>;
        toggle: Command<void, void, any>;
    }
    • Readonlyon: Command<void, void, any>

      MatterSpecification.v13.Cluster § 1.5.7.2

    • Readonlytoggle: Command<void, void, any>

      MatterSpecification.v13.Cluster § 1.5.7.3