Update clock.yaml/clock.yaml
last known good config before i attempt to add framebuffer back
This commit is contained in:
parent
8819e770d6
commit
bb2aee5b0d
|
|
@ -1,5 +1,5 @@
|
||||||
esphome:
|
esphome:
|
||||||
name: mini-display-tv--yellow
|
name: mini-display-tv-yellow
|
||||||
friendly_name: Mini Display TV - Yellow
|
friendly_name: Mini Display TV - Yellow
|
||||||
|
|
||||||
esp8266:
|
esp8266:
|
||||||
|
|
@ -47,21 +47,21 @@ light:
|
||||||
restore_mode: RESTORE_AND_ON
|
restore_mode: RESTORE_AND_ON
|
||||||
|
|
||||||
font:
|
font:
|
||||||
- file: "gfonts://Micro 5"
|
- file: "gfonts://Atkinson Hyperlegible"
|
||||||
id: dspfont
|
id: dspfont
|
||||||
size: 110
|
size: 75
|
||||||
|
|
||||||
- file: "gfonts://Micro 5"
|
- file: "gfonts://Atkinson Hyperlegible"
|
||||||
id: dspfont_small
|
id: dspfont_small
|
||||||
size: 44
|
size: 30
|
||||||
|
|
||||||
- file: "gfonts://Micro 5"
|
- file: "gfonts://Atkinson Hyperlegible"
|
||||||
id: dspfont_medium
|
id: dspfont_medium
|
||||||
size: 66
|
size: 40
|
||||||
|
|
||||||
- file: "gfonts://Micro 5"
|
- file: "gfonts://Atkinson Hyperlegible"
|
||||||
id: dspfont_am_pm
|
id: dspfont_am_pm
|
||||||
size: 50
|
size: 20
|
||||||
|
|
||||||
color:
|
color:
|
||||||
- id: color_white
|
- id: color_white
|
||||||
|
|
@ -107,8 +107,8 @@ display:
|
||||||
// Display AM/PM (Using %p to show AM/PM text)
|
// Display AM/PM (Using %p to show AM/PM text)
|
||||||
it.strftime(230, 42, id(dspfont_am_pm), text_color, TextAlign::BASELINE_RIGHT, "%p", id(esptime).now());
|
it.strftime(230, 42, id(dspfont_am_pm), text_color, TextAlign::BASELINE_RIGHT, "%p", id(esptime).now());
|
||||||
|
|
||||||
// Display the date in MM/DD/YYYY format
|
// Display the date in abbreviated weekday, MM/DD format (no year)
|
||||||
it.strftime(0, 110, id(dspfont_medium), text_color, TextAlign::BASELINE, "%m/%d/%Y", id(esptime).now());
|
it.strftime(0, 110, id(dspfont_medium), text_color, TextAlign::BASELINE, "%a %m/%d", id(esptime).now());
|
||||||
|
|
||||||
// Display "Party mode: ON" or "No fun allowed"
|
// Display "Party mode: ON" or "No fun allowed"
|
||||||
if (id(air_purifier_outlet1).state) {
|
if (id(air_purifier_outlet1).state) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue