From d7687fb72c43977230ef755b96cb49bbe450f4c7 Mon Sep 17 00:00:00 2001 From: Stefan Allius Date: Wed, 15 Jan 2025 12:46:19 +0100 Subject: [PATCH] fixed requirement status of client mode host --- ha_addon_debug/config.yaml | 2 +- ha_addon_dev/config.yaml | 2 +- ha_addon_rc/config.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ha_addon_debug/config.yaml b/ha_addon_debug/config.yaml index 8d076b9..e1ca6f1 100644 --- a/ha_addon_debug/config.yaml +++ b/ha_addon_debug/config.yaml @@ -39,7 +39,7 @@ schema: node_id: str suggested_area: str modbus_polling: bool - client_mode.host: match(\b((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\b) + client_mode.host: match(\b((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\b)? client_mode.port: port? client_mode.forward: bool? #strings: # leider funktioniert es nicht die folgenden 3 parameter im schema aufzulisten. möglicherweise wird die verschachtelung nicht unterstützt. diff --git a/ha_addon_dev/config.yaml b/ha_addon_dev/config.yaml index 681c054..033b2ef 100755 --- a/ha_addon_dev/config.yaml +++ b/ha_addon_dev/config.yaml @@ -39,7 +39,7 @@ schema: node_id: str suggested_area: str modbus_polling: bool - client_mode.host: match(\b((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\b) + client_mode.host: match(\b((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\b)? client_mode.port: port? client_mode.forward: bool? #strings: # leider funktioniert es nicht die folgenden 3 parameter im schema aufzulisten. möglicherweise wird die verschachtelung nicht unterstützt. diff --git a/ha_addon_rc/config.yaml b/ha_addon_rc/config.yaml index d376f3f..79d53d5 100644 --- a/ha_addon_rc/config.yaml +++ b/ha_addon_rc/config.yaml @@ -39,7 +39,7 @@ schema: node_id: str suggested_area: str modbus_polling: bool - client_mode.host: match(\b((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\b) + client_mode.host: match(\b((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\b)? client_mode.port: port? client_mode.forward: bool? #strings: # leider funktioniert es nicht die folgenden 3 parameter im schema aufzulisten. möglicherweise wird die verschachtelung nicht unterstützt.