This commit is contained in:
Joseph Hanson 2024-09-23 03:39:16 -05:00
parent 7193cadc47
commit 4c2c77f9bf
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -6,13 +6,13 @@
{allow, {user, "tasmota"}, all, [ {allow, {user, "tasmota"}, all, [
"tasmota/discovery/#", "tasmota/discovery/#",
{ topic {re, "tele/tasmota_[A-F0-9]+/#"} }, {re, "^tele/tasmota_[A-F0-9]+/.+"},
{ topic {re, "cmnd/tasmota_[A-F0-9]+/#"} } {re, "^cmnd/tasmota_[A-F0-9]+/.+"}
]}. ]}.
{allow, {user, "homeassistant"}, subscribe, [ {allow, {user, "homeassistant"}, subscribe, [
{ topic {re, "stat/tasmota_[A-F0-9]+/#"} }, {re, "^stat/tasmota_[A-F0-9]+/.+"},
{ topic {re, "tele/tasmota_[A-F0-9]+/#"} } {re, "^tele/tasmota_[A-F0-9]+/.+"}
]}. ]}.
{deny, all}. {deny, all}.