Sending "true" not "True" as MQTT Light payload

I have a light that responds to the following MQTT messages:

/loungeroom/light/cactus/enabled true
/loungeroom/light/cactus/enabled false

but I am struggling to get MQTT Light to send the correct commands. It’s sending:

/loungeroom/light/cactus/enabled True
/loungeroom/light/cactus/enabled False

from the following config:

light:
  - platform: mqtt
    name: "Cactus Neon"
    command_topic: "/loungeroom/light/cactus/enabled"
    payload_on: "true"
    payload_off: "false"

The capital letter is throwing it off, as it’s case sensitive on the client side. I can fix that on the client as a last resort :slight_smile: