How to create a simple toggle switch for a input boolean

Adapt to your needs as you like:

type: entities
entities:
  - entity: xxx
    name: " "
    icon: mdi:blank
    card_mod:
      style:
        hui-generic-entity-row $: |
          state-badge, .info {
            display: none;
          }
        .: |
          hui-generic-entity-row {
            justify-content: center;
          }
card_mod:
  style: |
    #states {
      padding-left: 0;
      padding-right: 0;
    }
grid_options:
  columns: 2

3 Likes