From 302233cca3584c57089a64fbb1d3fb3533a4048a Mon Sep 17 00:00:00 2001 From: Nick Horvath Date: Thu, 13 Dec 2018 03:22:32 -0500 Subject: [PATCH] Likely copy/paste error (#7811) the platform should be mqtt and the schema json --- source/_components/light.mqtt.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_components/light.mqtt.markdown b/source/_components/light.mqtt.markdown index 2f2521e6c7d..faf73b852a1 100644 --- a/source/_components/light.mqtt.markdown +++ b/source/_components/light.mqtt.markdown @@ -335,7 +335,7 @@ Optimistic mode can be forced, even if state topic is available. Try enabling it ```yaml # Example configuration.yaml entry light: - - platform: json + - platform: mqtt schema: json command_topic: "home/rgb1/set" ``` @@ -742,4 +742,4 @@ light: ### {% linkable_title Template schema - No brightness or color support %} -If you don't want brightness, color or effect support, just omit the corresponding configuration sections. \ No newline at end of file +If you don't want brightness, color or effect support, just omit the corresponding configuration sections.