Enable/Disable a switch/light or any element of the interface

Check this example:

type: custom:auto-entities
card:
  type: entities
filter:
  include:
    - entity_id: "switch.*"
      options:
        card_mod:
          style:
            hui-generic-entity-row ha-entity-toggle $:
              ha-switch $: |
                .mdc-switch .mdc-switch__thumb input {
                  {% if config.entity is search('wol') %}
                    pointer-events: none;
                  {% endif %}
                }
              .: |
                ha-switch {
                  {% if config.entity is search('wol') %}
                    --switch-unchecked-button-color: var(--disabled-text-color);
                    --switch-checked-button-color: var(--disabled-text-color);
                  {% endif %}
                }
sort:
  method: name

Assume there are many filters - for “switch”, “automation”, “input_boolean” etc.
And you need to disable one particular switch.
So you need to specify a style for a corresponding filter.
As a result - the “switch.wol_iiyama” is DISABLED.
image

In your own case - since you need to disable a “Kühlschrank plug”, specify a style for a “plug” filter with a “is search(‘kühlschrank’)” condition - if this word is a part of “entity_id”.