diff --git a/core/src/config.rs b/core/src/config.rs index 0b17690ea..1b81123c3 100644 --- a/core/src/config.rs +++ b/core/src/config.rs @@ -79,7 +79,6 @@ pub enum DeviceType { UnknownSpotify = 100, CarThing = 101, Observer = 102, - HomeThing = 103, } impl FromStr for DeviceType { @@ -102,7 +101,6 @@ impl FromStr for DeviceType { "smartwatch" => Ok(Smartwatch), "chromebook" => Ok(Chromebook), "carthing" => Ok(CarThing), - "homething" => Ok(HomeThing), _ => Err(()), } } @@ -130,7 +128,6 @@ impl From<&DeviceType> for &str { UnknownSpotify => "UnknownSpotify", CarThing => "CarThing", Observer => "Observer", - HomeThing => "HomeThing", } } } @@ -169,7 +166,6 @@ impl From for ProtoDeviceType { DeviceType::UnknownSpotify => ProtoDeviceType::UNKNOWN_SPOTIFY, DeviceType::CarThing => ProtoDeviceType::CAR_THING, DeviceType::Observer => ProtoDeviceType::OBSERVER, - DeviceType::HomeThing => ProtoDeviceType::HOME_THING, } } } diff --git a/protocol/proto/devices.proto b/protocol/proto/devices.proto index 00deaa4d2..17595aba3 100644 --- a/protocol/proto/devices.proto +++ b/protocol/proto/devices.proto @@ -31,5 +31,4 @@ enum DeviceType { UNKNOWN_SPOTIFY = 100; CAR_THING = 101; OBSERVER = 102; - HOME_THING = 103; } diff --git a/src/main.rs b/src/main.rs index 0447bda78..b14a57a49 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1471,7 +1471,7 @@ fn get_setup() -> Setup { speaker, tv, avr, stb, audiodongle, \ gameconsole, castaudio, castvideo, \ automobile, smartwatch, chromebook, \ - carthing, homething", + carthing", DeviceType::default().into(), );