[bluetooth.enoceanble] Changed logging level for discovered devices (#10134)
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
This commit is contained in:
parent
6829ff657a
commit
51db639853
|
@ -52,7 +52,7 @@ public class EnoceanBleDiscoveryParticipant implements BluetoothDiscoveryPartici
|
||||||
@Override
|
@Override
|
||||||
public @Nullable ThingUID getThingUID(BluetoothDiscoveryDevice device) {
|
public @Nullable ThingUID getThingUID(BluetoothDiscoveryDevice device) {
|
||||||
Integer manufacturerId = device.getManufacturerId();
|
Integer manufacturerId = device.getManufacturerId();
|
||||||
logger.warn("Discovered device {} with manufacturerId {} and name {}", device.getAddress(), manufacturerId,
|
logger.debug("Discovered device {} with manufacturerId {} and name {}", device.getAddress(), manufacturerId,
|
||||||
device.getName());
|
device.getName());
|
||||||
if (manufacturerId != null && manufacturerId == ENOCEAN_COMPANY_ID) {
|
if (manufacturerId != null && manufacturerId == ENOCEAN_COMPANY_ID) {
|
||||||
return new ThingUID(EnoceanBleBindingConstants.THING_TYPE_PTM215B, device.getAdapter().getUID(),
|
return new ThingUID(EnoceanBleBindingConstants.THING_TYPE_PTM215B, device.getAdapter().getUID(),
|
||||||
|
|
Loading…
Reference in New Issue