去掉老床垫相关功能

This commit is contained in:
fuenmao
2026-11-09 16:10:05 +08:00
parent 2d44cc3966
commit 3ca90c4cf3
25 changed files with 227 additions and 466 deletions
@@ -25,10 +25,10 @@ public static class RoomTemperaturePolicy
Mode = mode, RecommendedMinimumCelsius = range.Minimum, RecommendedMaximumCelsius = range.Maximum,
Reason = mode switch
{
"heat" => $"室温低于建议 {range.Display}:床垫低档加热,建议空调制热",
"cool" => $"室温高于建议 {range.Display}:床垫不加热,建议空调制冷",
"off" => $"室温在建议 {range.Display} 内:床垫不加热,空调不开启",
_ => $"{sample.Reason},不自动加热或开启空调"
"heat" => $"室温低于建议 {range.Display}:建议空调制热",
"cool" => $"室温高于建议 {range.Display}:建议空调制冷",
"off" => $"室温在建议 {range.Display} 内:空调保持当前运行状态",
_ => $"{sample.Reason},不自动开启空调"
},
PendingIntegration = mode is "heat" or "cool"
};