This commit is contained in:
Ben Varick 2023-11-06 21:55:41 -06:00
parent f870c0ea33
commit 45503489a7
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 format(ifelse(current_status$lamp_a_power=="on", washer_last_off, 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"), strftime(washer_last_on, format = "%A %I:%M %p"))`
## The dryer is currently: `r current_status[["lamp_b_power"]]`