Fix bug where calendar does not display if only one person home
This commit is contained in:
parent
b633bab7cb
commit
64057258b9
@ -141,7 +141,7 @@ void loop() {
|
||||
|
||||
display.setFullWindow(); // Set Full Update Mode
|
||||
if (!activeFeatures.network ||
|
||||
(activeFeatures.homeassistant && haAnybodyHome() < 1)) {
|
||||
(activeFeatures.homeassistant && haAnybodyHome() < 0)) {
|
||||
displayFullScreenArt(); // Show artwork if no network or nobody is home
|
||||
} else {
|
||||
struct tm timeinfo;
|
||||
|
@ -61,7 +61,8 @@ NotableDay notableDays[] = { // Max characters in a notable day is 39 characters
|
||||
{12, 9, {"International Anti-Corruption Day"}},
|
||||
{12, 10, {"Human Rights Day"}},
|
||||
{12, 11, {"International Mountain Day"}},
|
||||
{12, 12, {"Internation Day of Neutrality"}},
|
||||
{12, 12, {"International Day of Neutrality"}},
|
||||
{12, 13, {"National Cocoa Day"}},
|
||||
{12, 18, {"Arabic Language Day", "International Migrants Day"}},
|
||||
{12, 20, {"International Human Solidarity Day"}},
|
||||
{12, 21, {"Abolishion of Slavery Day"}},
|
||||
|
Loading…
x
Reference in New Issue
Block a user