If anyone needs this:

type: entities
show_header_toggle: false
entities:
- entity: input_boolean.test_boolean
name: normal
- entity: input_boolean.test_boolean
name: toggle on the left
card_mod:
style:
hui-generic-entity-row $: |
state-badge {
display: none;
}
.: |
hui-generic-entity-row {
flex-direction: row-reverse !important;
}