NorthernMan54 / homebridge-tasmota

Plugin for Tasmota devices leveraging Home Assistant auto discovery
Apache License 2.0
35 stars 9 forks source link

New feature: specify a list of filters #29

Closed skullydazed closed 3 years ago

skullydazed commented 3 years ago

This provides two new configuration items, filterAllow and filterDeny. They take a list of regexes that will be matched against discovery message topics.

I'm someone who doesn't do well with complicated regexes. I'd much rather have a list of regexes than have to come up with a single regex to exclude all my unwanted devices. This also allows you to use a broad regex to allow and then to deny specific devices that would otherwise match.

NorthernMan54 commented 3 years ago

Tks very much, published as v0.0.101