From d55ed1aeb2fd271a23b3416f0b3b508018c57526 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Mon, 23 Sep 2024 03:45:07 -0500 Subject: [PATCH] simplify --- kubernetes/apps/database/emqx/cluster/resources/acl.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kubernetes/apps/database/emqx/cluster/resources/acl.conf b/kubernetes/apps/database/emqx/cluster/resources/acl.conf index 30256ed4..4362b52e 100644 --- a/kubernetes/apps/database/emqx/cluster/resources/acl.conf +++ b/kubernetes/apps/database/emqx/cluster/resources/acl.conf @@ -6,13 +6,13 @@ {allow, {user, "tasmota"}, all, [ "tasmota/discovery/#", - {re, "^tele/tasmota_[A-F0-9]+/.*$"}, - {re, "^cmnd/tasmota_[A-F0-9]+/.*$"} + {re, "^tele/tasmota_+/+$"}, + {re, "^cmnd/tasmota_+/+$"} ]}. {allow, {user, "homeassistant"}, subscribe, [ - {re, "^stat/tasmota_[A-F0-9]+/.*$"}, - {re, "^tele/tasmota_[A-F0-9]+/.*$"} + {re, "^stat/tasmota_+/+$"}, + {re, "^tele/tasmota_+/+$"} ]}.