This commit is contained in:
Ben Varick 2023-11-06 21:57:34 -06:00
parent 45503489a7
commit 41adcd1fde
Signed by: ben
SSH Key Fingerprint: SHA256:jWnpFDAcacYM5aPFpYRqlsamlDyKNpSj3jj+k4ojtUo

View File

@ -10,7 +10,7 @@ this site updates every `r update_interval` minutes
## The washing machine is currently: `r current_status[["lamp_a_power"]]`
The washing machine `r ifelse(current_status$lamp_a_power=="on", "started", "ended")` its most recent cycle at `r ifelse(current_status$lamp_a_power=="on", strftime(washer_last_off, format = "%A %I:%M %p"), strftime(washer_last_on, format = "%A %I:%M %p"))`
The washing machine `r ifelse(current_status$lamp_a_power=="on", "started", "ended")` its most recent cycle at `r ifelse(current_status$lamp_a_power=="on", strftime(washer_last_off, format = "%A %I:%M %p", tz = "America/Chicago"), strftime(washer_last_on, format = "%A %I:%M %p", tz = "America/Chicago"))`
## The dryer is currently: `r current_status[["lamp_b_power"]]`