diff --git a/dashboard/src/ui.rs b/dashboard/src/ui.rs index 7b19821..68400b1 100644 --- a/dashboard/src/ui.rs +++ b/dashboard/src/ui.rs @@ -47,9 +47,9 @@ pub fn apply_theme(app: &AppWindow, entities: &Vec) { && let Ok(illuminance) = entity.state.parse::() { let mut color_scheme = app.get_color_scheme(); - if illuminance < 250 { + if illuminance < 150 { color_scheme = ColorScheme::Dark; - } else if illuminance > 450 { + } else if illuminance > 300 { color_scheme = ColorScheme::Light; }