Increase wake brightness
This commit is contained in:
@ -148,7 +148,7 @@ async fn wake_task(
|
|||||||
alarm += chrono::Duration::weeks(1);
|
alarm += chrono::Duration::weeks(1);
|
||||||
|
|
||||||
// slowly turn up brightness of bulb
|
// slowly turn up brightness of bulb
|
||||||
for brightness in (1..=50).map(|i| (i as f32) * 0.01) {
|
for brightness in (1..=75).map(|i| (i as f32) * 0.01) {
|
||||||
select! {
|
select! {
|
||||||
// abort if the client pokes the bulb
|
// abort if the client pokes the bulb
|
||||||
_ = wait_for_bulb_command(&id, &mut client_messages) => break,
|
_ = wait_for_bulb_command(&id, &mut client_messages) => break,
|
||||||
|
|||||||
Reference in New Issue
Block a user