Skip to main content

bridge_id

Function bridge_id 

Source
pub fn bridge_id(base: &str) -> String
Expand description

The bridge’s own device id in Home Assistant, from its base topic, which every bridge on one broker already has to have to itself: bluetooth_bridge for the default bluetooth (as before there could be more than one, so an existing installation keeps its device), bluetooth_bridge_<base> for any other.