From 80e43888b9e88bde3bb66c69b1215f33c068fb30 Mon Sep 17 00:00:00 2001 From: Andrey Date: Thu, 18 Feb 2021 15:45:13 +0300 Subject: [PATCH] fix force_d --- custom_components/mega/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/mega/__init__.py b/custom_components/mega/__init__.py index 0b10e80..36c4995 100644 --- a/custom_components/mega/__init__.py +++ b/custom_components/mega/__init__.py @@ -56,8 +56,8 @@ CONFIG_SCHEMA = vol.Schema( vol.Optional( CONF_DEF_RESPONSE, description='Ответ по умолчанию', - default='' - ): cv.template, + default=None + ): vol.Any(cv.template, None), vol.Optional(int, description='номер порта'): vol.Any( CUSTOMIZE_PORT, CUSTOMIZE_DS2413,