diff --git a/docs/integrating-with-homeassistant.md b/docs/integrating-with-homeassistant.md index 835ab4d2..61da685b 100644 --- a/docs/integrating-with-homeassistant.md +++ b/docs/integrating-with-homeassistant.md @@ -612,95 +612,104 @@ sensor: ### LED1545G12 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### LED1546G12 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### LED1623G12 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### LED1537R6 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### LED1650R5 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### LED1536G5 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### LED1622G12 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### LED1624G9 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### LED1649C5 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` @@ -720,53 +729,58 @@ sensor: ### ICPSHC24-10EU-IL-1 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### ICPSHC24-30EU-IL-1 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### L1527 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### L1529 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### L1528 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` @@ -785,190 +799,207 @@ switch: ### 7299760PH ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 7146060PH ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 433714 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 9290011370 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 8718696449691 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 7299355PH ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 915005106701 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 9290012573A ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 9290002579A ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 8718696485880 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 915005733701 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 8718696695203 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 8718696598283 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 8718696548738 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 3261030P7 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 3216331P5 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 7199960PH ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` @@ -1049,10 +1080,11 @@ sensor: ### F7C033 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` @@ -1237,122 +1269,133 @@ switch: ### 4058075816718 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### AA69697 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### AC03645 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### AC03642 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### AA70155 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### AA68199 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### AB32840 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 4058075816794 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### AC03641 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 4052899926158 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### AB401130055 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` @@ -1371,58 +1414,63 @@ switch: ### 4052899926110 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 4058075036185 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 4058075036147 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### AB35996 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### AC08562 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` @@ -1453,229 +1501,251 @@ sensor: ### HALIGHTDIMWWE27 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### RB 185 C ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### RB 285 C ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### RB 165 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### RB 175 W ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### RS 125 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### RS 128 T ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### RB 145 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### BY 165 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### PL 110 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### ST 110 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### UC 110 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### DL 110 N ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### DL 110 W ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### SL 110 N ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### SL 110 M ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### SL 110 W ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 73742 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 73740 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 73693 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 74283 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 74696 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` @@ -1694,106 +1764,116 @@ switch: ### 74282 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 22670 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 45852GE ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 45857GE ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### E11-G13 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### E11-G23/E11-G33 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### Z01-CIA19NAE26 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### Z01-A19NAE26 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### E11-N1EA ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### K2RGBW01 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` @@ -1827,10 +1907,11 @@ sensor: ### NL08-0800 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` @@ -1876,12 +1957,13 @@ switch: ### GL-C-008 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` @@ -1936,31 +2018,34 @@ sensor: ### ZLED-2709 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 50045 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 50049 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` @@ -2051,33 +2136,36 @@ switch: ### 53170161 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### 900008-WW ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` ### Mega23M12 ```yaml light: - - platform: "mqtt_json" + - platform: "mqtt" state_topic: "zigbee2mqtt/" availability_topic: "zigbee2mqtt/bridge/state" brightness: true color_temp: true xy: true + schema: "json" command_topic: "zigbee2mqtt//set" ``` diff --git a/lib/extension/homeassistant.js b/lib/extension/homeassistant.js index ced4a18f..e7aa182b 100644 --- a/lib/extension/homeassistant.js +++ b/lib/extension/homeassistant.js @@ -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, }, },