File tree Expand file tree Collapse file tree 3 files changed +7
-10
lines changed
Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 11name : " Intouch2-MQTT"
22description : " A bridge between intouch2, used in spa systems, and MQTT 3.3"
3- version : " 0.1.251 "
3+ version : " 0.1.252 "
44slug : " intouch2-mqtt"
55init : false
66arch :
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ pub struct ConfigureDevice {
66 pub name : Arc < str > ,
77 #[ serde( skip_serializing_if = "Option::is_none" ) ]
88 pub sw_version : Option < Arc < str > > ,
9- #[ serde( skip_serializing_if = "Option::is_none" ) ]
10- pub configuration_url : Option < Arc < str > > ,
9+ // #[serde(skip_serializing_if = "Option::is_none")]
10+ // pub configuration_url: Option<Arc<str>>,
1111 #[ serde( flatten) ]
1212 pub extra_args : HashMap < & ' static str , serde_json:: Value > ,
1313}
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ use serde_json::json;
1414use std:: {
1515 borrow:: Cow ,
1616 collections:: VecDeque ,
17- env,
1817 net:: IpAddr ,
1918 path:: PathBuf ,
2019 pin:: pin,
@@ -562,12 +561,10 @@ async fn main() -> anyhow::Result<()> {
562561 name : spa_name. into ( ) ,
563562 sw_version : Some ( spa_version. into ( ) ) ,
564563 extra_args : Default :: default ( ) ,
565- configuration_url : env:: var ( "HOSTNAME" )
566- . map ( |hostname| {
567- format ! ( "homeassistant://navigate/hassio/addon/{hostname}/config" )
568- } )
569- . ok ( )
570- . map ( Into :: into) ,
564+ // configuration_url: env::var("HOSTNAME")
565+ // .map(|hostname| format!("homeassistant://hassio/addon/{hostname}/config"))
566+ // .ok()
567+ // .map(Into::into),
571568 } ) ?;
572569 let spa = spa. clone ( ) ;
573570 join_set. spawn ( async move {
You can’t perform that action at this time.
0 commit comments