more adjustments
This commit is contained in:
parent
d887bbf7d1
commit
828a596da3
1 changed files with 1 additions and 1 deletions
|
@ -3,6 +3,6 @@
|
|||
%% https://docs.emqx.com/en/emqx/latest/access-control/authz/file.html %%
|
||||
|
||||
{allow, {user, "jahanson"}, all, ["#"]}.
|
||||
{allow, {user, "tasmota"}, all, ["tasmota/discovery/#", "tele/tasmota_+/+", "cmnd/tasmota_+/+"]}.
|
||||
{allow, {user, "tasmota"}, all, ["tasmota/discovery/#", "tele/tasmota_[^/]+/#", "cmnd/tasmota_[^/]+/#"]}.
|
||||
{allow, {user, "homeassistant"}, subscribe, ["stat/tasmota_+/+", "tele/tasmota_+/+"]}.
|
||||
{deny, all}.
|
||||
|
|
Loading…
Reference in a new issue