Fix #13846 Double underscore in bluetooth address (#13884)

This commit is contained in:
Kyle Niewiada authored and Johann Kellerman committed 2018-04-15 13:59:10 +02:00
1 parent 390086bb7e
commit 2bff03836b
1 file changed
+1 -1
@@ -40,7 +40,7 @@ def setup_scanner(hass, config, see, discovery_info=None):
attributes = {}
if rssi is not None:
attributes['rssi'] = rssi
see(mac="{}_{}".format(BT_PREFIX, mac), host_name=name,
see(mac="{}{}".format(BT_PREFIX, mac), host_name=name,
attributes=attributes, source_type=SOURCE_TYPE_BLUETOOTH)
def discover_devices():