From 4685a2cd97452ce5ecd679af1a3bba3602be20e9 Mon Sep 17 00:00:00 2001 From: Jason Hu Date: Sun, 2 Sep 2018 13:17:29 -0700 Subject: [PATCH] Update server.py (#16375) --- homeassistant/components/mqtt/server.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/homeassistant/components/mqtt/server.py b/homeassistant/components/mqtt/server.py index 57da85fe5f6..45529411ed5 100644 --- a/homeassistant/components/mqtt/server.py +++ b/homeassistant/components/mqtt/server.py @@ -85,6 +85,10 @@ def generate_config(hass, passwd, password): 'allow-anonymous': password is None }, 'plugins': ['auth_anonymous'], + 'topic-check': { + 'enabled': True, + 'plugins': ['topic_taboo'], + }, } if password: