diff --git a/docs/images/devices/TI0001.jpg b/docs/images/devices/TI0001.jpg new file mode 100644 index 00000000..6ae36c2f Binary files /dev/null and b/docs/images/devices/TI0001.jpg differ diff --git a/docs/information/supported_devices.md b/docs/information/supported_devices.md index 47e33fcd..d02d5a16 100644 --- a/docs/information/supported_devices.md +++ b/docs/information/supported_devices.md @@ -2,7 +2,7 @@ *NOTE: This file has been generated, do not edit this file manually!* -Currently **192** devices are supported from **39** different vendors. +Currently **193** devices are supported from **40** different vendors. In case you own a Zigbee device which is **NOT** listed here, please see [How to support new devices](https://koenkk.github.io/zigbee2mqtt/how_tos/how_to_support_new_devices.html). @@ -197,6 +197,12 @@ In case you own a Zigbee device which is **NOT** listed here, please see | ------------- | ------------- | -------------------------- | | KS-SM001 | Ksentry Electronics [Zigbee OnOff Controller](http://ksentry.manufacturer.globalsources.com/si/6008837134660/pdtl/ZigBee-module/1162731630/zigbee-on-off-controller-modules.htm) (on/off) | ![../images/devices/KS-SM001.jpg](../images/devices/KS-SM001.jpg) | +### Livolo + +| Model | Description | Picture | +| ------------- | ------------- | -------------------------- | +| TI0001 | Livolo Zigbee switch (1 and 2 gang) [work in progress](https://github.com/Koenkk/zigbee2mqtt/issues/592) (on/off) | ![../images/devices/TI0001.jpg](../images/devices/TI0001.jpg) | + ### Müller Licht | Model | Description | Picture | diff --git a/docs/integration/home_assistant.md b/docs/integration/home_assistant.md index 24c822c4..5fa0ae3a 100644 --- a/docs/integration/home_assistant.md +++ b/docs/integration/home_assistant.md @@ -3326,4 +3326,27 @@ light: ``` {% endraw %} +### TI0001 +{% raw %} +```yaml +switch: + - platform: "mqtt" + state_topic: "zigbee2mqtt/" + availability_topic: "zigbee2mqtt/bridge/state" + payload_off: "OFF" + payload_on: "ON" + value_template: "{{ value_json.state_left }}" + command_topic: "zigbee2mqtt//left/set" + +switch: + - platform: "mqtt" + state_topic: "zigbee2mqtt/" + availability_topic: "zigbee2mqtt/bridge/state" + payload_off: "OFF" + payload_on: "ON" + value_template: "{{ value_json.state_right }}" + command_topic: "zigbee2mqtt//right/set" +``` +{% endraw %} + diff --git a/lib/extension/homeassistant.js b/lib/extension/homeassistant.js index 9e0fe1a6..d6bcb451 100644 --- a/lib/extension/homeassistant.js +++ b/lib/extension/homeassistant.js @@ -479,6 +479,7 @@ const mapping = { 'GL-B-007Z': [configurations.light_brightness_colortemp_colorxy], '81809': [configurations.light_brightness_colortemp_colorxy], '100.110.39': [configurations.light_brightness_colortemp_colorxy], + 'TI0001': [switchWithPostfix('left'), switchWithPostfix('right')], }; /** diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index d3bd9f6e..017a7c63 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -4823,9 +4823,9 @@ } }, "zigbee-shepherd-converters": { - "version": "7.0.31", - "resolved": "https://registry.npmjs.org/zigbee-shepherd-converters/-/zigbee-shepherd-converters-7.0.31.tgz", - "integrity": "sha512-lzXgmImGeQVbywTb/xUz78VxUOFc6V+y/+gz3lMuaarEkuoTSLXpoUtxZ1zZhvy1Z468bEH96FIybIaMCidpGA==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/zigbee-shepherd-converters/-/zigbee-shepherd-converters-7.1.0.tgz", + "integrity": "sha512-jCFlOpT0z5DIh+njCu2Qu8Yw4jAYJUJZivhBWTczQRkQeFHsmQBBKNq+yaYaUWJHHIeQKmlJ6nHcWR7Vah/Vqg==", "requires": { "chai": "*", "debounce": "*", diff --git a/package.json b/package.json index d3263214..b290405c 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "winston": "2.4.2", "ziee": "*", "zigbee-shepherd": "git+https://github.com/Koenkk/zigbee-shepherd.git#6f06ba01d7dbe13dc5a3b0652cf4ad01debbf188", - "zigbee-shepherd-converters": "7.0.31", + "zigbee-shepherd-converters": "7.1.0", "zive": "*" }, "devDependencies": {