Fix bug where calendar does not display if only one person home

This commit is contained in:
Fred Boniface 2025-02-08 22:41:27 +00:00
parent b633bab7cb
commit 64057258b9
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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"}},