_buttonComponent(indexOrName) {
      const index = typeof indexOrName === "string" ? this._indexFromName(indexOrName) : indexOrName;
      const entity = this._entities[index].entity;
      return entity ? this.shadowRoot?.querySelector(`#${this._id}_button_${entity}`) : undefined;
    }
Returns ToggleSpinButton component by index or name.

@param {number | string} indexOrName the index or name of the component
@returns { ToggleSpinButton | undefined} component (if exists) or undefined