GE Dimmer Switch & Smartthings over MQTT

I have HA setup with a mqtt to smartthings. I have tried setting up my first device which is a GE Dimmer switch. However all I can get it to do is dim. It does not recognize the on or off. I have tried adding it as a both a switch and a light. Switch doesn’t allow me to use bright_state_topic. Light allows me to use that but thats the only function that is working. Any guess as to what I am missing?

lights:

  • platform: mqtt
    name: “Living Room Lights”
    state_topic: “smartthings/Living Room Lights/switch”
    command_topic: “smartthings/Living Room Lights/switch”
    brightness_state_topic: “smartthings/Living Room Lights/level”
    brightness_command_topic: “smartthings/Living Room Lights/level”
    payload_on: “on”
    payload_off: “off”
    retain: true

Try adding the brightness scale. I seem to remember I had a similar issue. Below is what I use for a GE dimmer switch.

light 3:
  platform: mqtt
  name: "ge_living_room_3"
  state_topic: "smartthings/GE Living Room 3/switch"
  command_topic: "smartthings/GE Living Room 3/switch"
  brightness_state_topic: "smartthings/GE Living Room 3/level"
  brightness_command_topic: "smartthings/GE Living Room 3/level"
  brightness_scale: 99
  brightness_value_template: '{{ value }}'
  qos: 0
  payload_on: "on"
  payload_off: "off"
  optimistic: false
  retain: true