This commit is contained in:
Joseph Hanson 2024-09-23 03:33:15 -05:00
parent 1c60618d7b
commit 7193cadc47
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

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