로그 수정
This commit is contained in:
parent
77c840064c
commit
cda965cb81
|
|
@ -28,7 +28,7 @@ module Modbus
|
|||
"serial.rb",
|
||||
"#{schedule.controller.station_id}",
|
||||
(schedule.temperature * 10).to_i.to_s,
|
||||
"[Schedule] #{format('%02d:%02d', schedule.hour, schedule.minute)} → #{schedule.temperature}°C"
|
||||
"[Schedule] #{schedule.controller.name} #{format('%02d:%02d', schedule.hour, schedule.minute)} → #{schedule.temperature}°C"
|
||||
)
|
||||
else
|
||||
run_script("on_off.rb", "#{schedule.controller.station_id}", "1", "[Schedule] #{schedule.controller.name} OFF")
|
||||
|
|
|
|||
Loading…
Reference in New Issue