mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 09:38:21 +00:00
parent
26c76e3399
commit
727ab956cf
@ -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