pub fn create_device_with_host(
info: DeviceInfo,
base_host: String,
client: Client,
password: Option<String>,
) -> ShellyDeviceExpand description
Build a ShellyDevice that addresses the device via an explicit
host[:port] string rather than info.ip. info still carries the
device identity (model, generation, mac, …); base_host is only used
to build the HTTP/RPC URLs, so it can carry a port that info.ip cannot.