Change mqtt lights to new schema attribute (#689)

* Change mqtt lights to new schema attribute

* Update docs
This commit is contained in:
cbrherms
2018-12-13 21:18:13 +01:00
committed by Koen Kanters
parent 21fc5f0275
commit b59afbd10d
2 changed files with 180 additions and 92 deletions
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -195,7 +195,7 @@ const configurations = {
brightness: true,
color_temp: true,
xy: true,
platform: 'mqtt_json',
schema: 'json',
command_topic: true,
},
},
@@ -205,7 +205,7 @@ const configurations = {
discovery_payload: {
brightness: true,
xy: true,
platform: 'mqtt_json',
schema: 'json',
command_topic: true,
},
},
@@ -215,7 +215,7 @@ const configurations = {
discovery_payload: {
brightness: true,
color_temp: true,
platform: 'mqtt_json',
schema: 'json',
command_topic: true,
},
},
@@ -224,7 +224,7 @@ const configurations = {
object_id: 'light',
discovery_payload: {
brightness: true,
platform: 'mqtt_json',
schema: 'json',
command_topic: true,
},
},