로그 수정

This commit is contained in:
RubyOn 2025-04-23 11:13:24 +09:00
parent 77c840064c
commit cda965cb81
1 changed files with 1 additions and 1 deletions

View File

@ -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")