mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
parent
390086bb7e
commit
2bff03836b
@ -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():
|
||||
|
Loading…
x
Reference in New Issue
Block a user