Skip to content

Commit

Permalink
compile
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisns committed May 29, 2024
1 parent 76911e0 commit b05ef02
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ jobs:
- uses: devcontainers/ci@v0.3
with:
runCmd: rake test
# - uses: devcontainers/ci@v0.3
# with:
# runCmd: rake build
- uses: devcontainers/ci@v0.3
with:
runCmd: rake build
16 changes: 8 additions & 8 deletions childrensclock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ sensor:
return GetState(
id(sntp_time).now().day_of_week,
id(current_time_decimal).state,
TimeAsDecimal(id(weekday_go).state),
TimeAsDecimal(id(weekday_wake).state),
TimeAsDecimal(id(weekday_bedtime).state),
TimeAsDecimal(id(weekend_go).state),
TimeAsDecimal(id(weekend_wake).state),
TimeAsDecimal(id(weekend_bedtime).state),
TimeAsDecimal(id(weekday_go).hour, id(weekday_go).minute),
TimeAsDecimal(id(weekday_wake).hour, id(weekday_wake).minute),
TimeAsDecimal(id(weekday_bedtime).hour, id(weekday_bedtime).minute),
TimeAsDecimal(id(weekend_go).hour, id(weekend_go).minute),
TimeAsDecimal(id(weekend_wake).hour, id(weekend_wake).minute),
TimeAsDecimal(id(weekend_bedtime).hour, id(weekend_bedtime).minute)
);
i2c:
Expand Down Expand Up @@ -235,11 +235,11 @@ display:
color = Color(0, 50, 0);
}
int line_length = ProgressToDots(id(progress), 32)
int line_length = ProgressToDots(id(progress), 32);
it.line(0, 0, line_length, 0, color);
auto time_text = id(current_time).state
auto time_text = id(current_time).state;
it.print(
1,
Expand Down

0 comments on commit b05ef02

Please sign in to comment.