How to remove history && activity tab on number input

Hello, I have created remote control with esp 8266 and IR diodes, everything is mapped and working, there is just 1 twitch that I am not really sure how to do.

I do want to get rid of History and Activity, the idea of this popup is user to just add channel number and go to that channel. If we can do it even without popup, it will be even more amazing.

Thanks in advance !

Different card types have different functionality. What type of card are you using?

Using an Entities Card will allow you to adjust the number without the popup. Inputs can also be added to TIle card using custom features.

type: vertical-stack
cards:
  - type: horizontal-stack
    cards:
      - show_name: true
        show_icon: true
        type: button
        name: Power On
        icon: mdi:power
        tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: POWER_ON
      - type: button
        name: Power Off
        icon: mdi:power-off
        tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: POWER_OFF
  - type: horizontal-stack
    cards:
      - show_name: true
        show_icon: true
        type: button
        name: Vol -
        icon: mdi:volume-minus
        double_tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: FAST_VOL_DOWN
        tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: VOL_DOWN
      - show_name: true
        show_icon: true
        type: button
        name: Mute
        icon: mdi:volume-off
        tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: MUTE_ON
      - show_name: true
        show_icon: true
        type: button
        name: Vol +
        icon: mdi:volume-plus
        tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: VOL_UP
        double_tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: FAST_VOL_UP
  - type: grid
    columns: 3
    square: false
    cards:
      - show_name: true
        show_icon: true
        type: button
        icon: mdi:menu
        name: Menu
        tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: MENU
      - show_name: true
        show_icon: true
        type: button
        icon: mdi:arrow-up-bold
        name: Up
        tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: ARROW_UP
      - show_name: true
        show_icon: true
        type: button
        icon: mdi:pause
        name: Play/Pause
        tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: PAUSE
      - show_name: true
        show_icon: true
        type: button
        icon: mdi:arrow-left-bold
        name: Left
        tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: ARROW_LEFT
      - show_name: true
        show_icon: true
        type: button
        icon: mdi:checkbox-blank-circle
        name: OK
        tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: OK
      - show_name: true
        show_icon: true
        type: button
        icon: mdi:arrow-right-bold
        name: Right
        tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: ARROW_RIGHT
      - show_name: true
        show_icon: true
        type: button
        icon: mdi:arrow-u-left-top
        name: Back
        tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: REVERT
      - show_name: true
        show_icon: true
        type: button
        icon: mdi:arrow-down-bold
        name: Down
        tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: ARROW_DOWN
      - show_name: true
        show_icon: true
        type: button
        icon: mdi:rewind
        name: Backward
        tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: BACKWARD
        double_tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: FAST_BACKWARD
      - show_name: true
        show_icon: true
        type: button
        icon: mdi:fast-forward
        name: Forward
        tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: FORWARD
        double_tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: FAST_FORWARD
      - show_name: true
        show_icon: true
        type: button
        icon: mdi:hdmi-port
        name: Source
        tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: CHANGE_HDMI
      - type: entities
        entities:
          - entity: input_number.change_channel
            name: TV Channel
            icon: mdi:television
            tap_action: null
            card_mod: null
            more-info:
              style: |
                ha-more-info-history {
                  display: none !important;
                }
  - type: horizontal-stack
    cards:
      - show_name: true
        show_icon: true
        type: button
        name: TV
        icon: mdi:television
        tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: TV_BUTTON
        show_state: false
      - show_name: true
        show_icon: true
        type: button
        name: EPG
        icon: mdi:home
        tap_action:
          action: call-service
          service: mqtt.publish
          data:
            topic: home/kitchen/ir
            payload: EPG

This is my full yaml config,

  • entity: input_number.change_channel
    is the problem

Will read about those custom features you gave later today. Thanks !