HueLight is now HueGroup and uses a scene to turn the light on, the contact sensor will also not override the current light state if it is already on
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-08-18 04:08:15 +02:00
parent 044c38ba86
commit 9628b8a94b
7 changed files with 77 additions and 38 deletions

View File

@@ -12,7 +12,7 @@ use tracing::{debug, error, instrument, trace};
use crate::{
devices::{
As, AudioSetupConfig, ContactSensorConfig, DebugBridgeConfig, Device, HueBridgeConfig,
HueLightConfig, IkeaOutletConfig, KasaOutletConfig, LightSensorConfig, WakeOnLANConfig,
HueGroupConfig, IkeaOutletConfig, KasaOutletConfig, LightSensorConfig, WakeOnLANConfig,
WasherConfig,
},
error::DeviceConfigError,
@@ -50,7 +50,7 @@ pub enum DeviceConfigs {
WakeOnLAN(WakeOnLANConfig),
Washer(WasherConfig),
HueBridge(HueBridgeConfig),
HueLight(HueLightConfig),
HueGroup(HueGroupConfig),
LightSensor(LightSensorConfig),
}