Skip to content

Commit 71f609d

Browse files
committed
Add disable_tuya_default_response option
1 parent eb66e0a commit 71f609d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

common/rootfs/docker-entrypoint.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ fi
6767
export NODE_PATH=/app/node_modules
6868
export ZIGBEE2MQTT_CONFIG_FRONTEND='{"port": 8099}'
6969

70+
if bashio::config.true 'disable_tuya_default_response'; then
71+
bashio::log.info "Disabling TuYa default responses"
72+
export DISABLE_TUYA_DEFAULT_RESPONSE="true"
73+
fi
74+
7075
# Expose addon configuration through environment variables.
7176
function export_config() {
7277
local key=${1}

zigbee2mqtt-edge/config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
},
4848
"schema": {
4949
"zigbee_herdsman_debug": "bool?",
50+
"disable_tuya_default_response": "bool?",
5051
"data_path": "str",
5152
"socat": {
5253
"enabled": "bool?",

0 commit comments

Comments
 (0)