From 641fd5ae38ecc9856c9326ecf944df24f5ce336a Mon Sep 17 00:00:00 2001 From: Jared Burce Date: Thu, 29 Oct 2020 09:13:16 -0700 Subject: [PATCH] turn on patio light if off when doorbelled --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 8daff1f..d8fde40 100644 --- a/src/main.rs +++ b/src/main.rs @@ -141,7 +141,7 @@ async fn hue_base(reqwest: &reqwest::Client, body: &'static str, delay_millis: u async fn flash_patio(reqwest: &reqwest::Client) { hue_base(reqwest, - r#"{"transitiontime":0,"bri":254,"sat":254}"#, // resaturate + r#"{"transitiontime":0,"on":true,"bri":254,"sat":254}"#, // activate/resaturate 250).await; for _ in 0..2 { hue_base(reqwest,