去掉老床垫相关功能
This commit is contained in:
@@ -38,7 +38,7 @@ public sealed class LightingModule : HealthDeviceModule
|
||||
|
||||
public override async Task ExecuteParameterAsync(DeviceCommand command, CancellationToken cancellationToken)
|
||||
{
|
||||
// 标准手动面板复用本灯的专属安全钩子;其他灯不会触发助眠灯/床垫联动。
|
||||
// 标准手动面板复用本灯的专属安全钩子;其他灯不会触发主灯关灯事件。
|
||||
command = command with { Intent = command.Service == "turn_off"
|
||||
? DeviceCommandIntent.TurnRelaxationLightOff : DeviceCommandIntent.TurnRelaxationLightOn };
|
||||
await _transition.CancelAsync(cancellationToken);
|
||||
|
||||
Reference in New Issue
Block a user