fix(dishwasher): model delay start as a duration, not a wall-clock time
x.com.samsung.da.delayStartTime is HH:MM:SS until the cycle starts (e.g. "01:00" means 1 hour from pressing start), not a time of day. It was wired up as a time entity with a suspicious hour % 24 wrap -- a sign it was never really a clock time. Replace with a number entity (0-24h, 1h steps) that reads/writes the field as elapsed hours.
This commit is contained in:
1 parent
c3fb4f5f44
commit
87df3a84df
2 files changed
+24
-13
No files matched your search
+2
-2
@@ -5,7 +5,7 @@
|
||||
"child_lock",
|
||||
"cycle",
|
||||
"cycle_active",
|
||||
"delay_start_time",
|
||||
"delay_start_hours",
|
||||
"diagnosis_status",
|
||||
"energy_kwh",
|
||||
"finish_time",
|
||||
@@ -36,7 +36,7 @@
|
||||
"samsung_dishwasher_child_lock",
|
||||
"samsung_dishwasher_cycle",
|
||||
"samsung_dishwasher_cycle_active",
|
||||
"samsung_dishwasher_delay_start_time",
|
||||
"samsung_dishwasher_delay_start_hours",
|
||||
"samsung_dishwasher_diagnosis_start",
|
||||
"samsung_dishwasher_diagnosis_status",
|
||||
"samsung_dishwasher_energy_kwh",
|
||||
|
||||
Reference in new issue
Block a user