My lovelace config

It’s a workaround for now, you will need to install the custom_ui and put the following in your config.yaml

customize_glob:
  input_boolean.*:
    custom_ui_state_card: state-card-custom-ui
    templates:
      icon_color: >
        if (state === 'on') return '#00bcd4' ; return '#B3B0AF';