Skip to content

Instantly share code, notes, and snippets.

View khenderick's full-sized avatar

Kenneth Henderick khenderick

  • Gent, Belgium
View GitHub Profile
- id: reset_extra_screen_time
alias: "Reset extra screen time"
mode: single
max_exceeded: silent
trigger:
- platform: time
at: "00:00:00"
condition:
condition: time
weekday:
@khenderick
khenderick / epaper.h
Created December 24, 2022 09:03
Inplate 6 plus - Esphome - HomeAssistant - Version 1
int last_press_millis = 0;
const int large_button_width = 200;
const int columns_3[3] = {139, 379, 618};
const int columns_3_borders[3][2] = {{39, 239}, {279, 479}, {518, 718}};
void drawTime(DisplayBuffer& it) {
it.strftime(
it.get_width() - 35, it.get_height() - 5,
&id(font_small), COLOR_OFF, TextAlign::BOTTOM_RIGHT,
"%H:%M", id(hass_time).now()

Keybase proof

I hereby claim:

  • I am khenderick on github.
  • I am kennethhenderick (https://keybase.io/kennethhenderick) on keybase.
  • I have a public key whose fingerprint is 0DA4 0E72 E134 CF10 BD6E 9982 6783 6BE9 718D B8B0

To claim this, I am signing this object: