- new
whitelist
option:
By default, the component creates entities for all detected supported sensors. However, situations may arise when you need to limit the list of sensors. For example, when you receive data from neighboring sensors, or data from part of your sensors are received using other equipment, and you would not want to see entities you do not need. To resolve this issue, simply list the mac-addresses of the sensors you need in the whitelist
option:
sensor:
- platform: mitemp_bt
whitelist:
- '58:C1:38:2F:86:6C'
- 'C4:FA:64:D1:61:7D'
data from sensors with other addresses will be ignored.
In addition, all addresses listed in the encryptors
option will be automatically whitelisted.
If you have no sensors other than those listed in encryptors
, then just set whitelist
to True
:
sensor:
- platform: mitemp_bt
encryptors:
'A4:C1:38:2F:86:6C': '217C568CF5D22808DA20181502D84C1B'
'A4:C1:38:D1:61:7D': 'C99D2313182473B38001086FEBF781BD'
whitelist: True
Default value: False.