1786272757

This commit is contained in:
2026-08-09 12:52:37 +02:00
parent b17fad78d9
commit e4b1e33f1f

View File

@@ -15,7 +15,7 @@ fn apply_state(app: &Weak<AppWindow>, state: State) {
// Light/Dark mode
//
if let Some(illuminance) = state
.get("sensor.living_room_motion_sensor_illuminance")
.get("sensor.diyless_thermostat_3_ambient_light_level")
.as_ref()
&& let Ok(illuminance) = illuminance.state.parse::<i32>()
{