simplify
This commit is contained in:
parent
a3385c6419
commit
d55ed1aeb2
1 changed files with 4 additions and 4 deletions
|
@ -6,13 +6,13 @@
|
||||||
|
|
||||||
{allow, {user, "tasmota"}, all, [
|
{allow, {user, "tasmota"}, all, [
|
||||||
"tasmota/discovery/#",
|
"tasmota/discovery/#",
|
||||||
{re, "^tele/tasmota_[A-F0-9]+/.*$"},
|
{re, "^tele/tasmota_+/+$"},
|
||||||
{re, "^cmnd/tasmota_[A-F0-9]+/.*$"}
|
{re, "^cmnd/tasmota_+/+$"}
|
||||||
]}.
|
]}.
|
||||||
|
|
||||||
{allow, {user, "homeassistant"}, subscribe, [
|
{allow, {user, "homeassistant"}, subscribe, [
|
||||||
{re, "^stat/tasmota_[A-F0-9]+/.*$"},
|
{re, "^stat/tasmota_+/+$"},
|
||||||
{re, "^tele/tasmota_[A-F0-9]+/.*$"}
|
{re, "^tele/tasmota_+/+$"}
|
||||||
|
|
||||||
]}.
|
]}.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue