mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
parent
390086bb7e
commit
2bff03836b
@ -40,7 +40,7 @@ def setup_scanner(hass, config, see, discovery_info=None):
|
|||||||
attributes = {}
|
attributes = {}
|
||||||
if rssi is not None:
|
if rssi is not None:
|
||||||
attributes['rssi'] = rssi
|
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)
|
attributes=attributes, source_type=SOURCE_TYPE_BLUETOOTH)
|
||||||
|
|
||||||
def discover_devices():
|
def discover_devices():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user