Affiche la batterie de la Kobo (push via params /image.png) en pied de page

This commit is contained in:
jerem
2026-06-15 16:01:09 +02:00
parent 0178f596ef
commit ba7ea0af3f
5 changed files with 88 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ from PIL import Image
from playwright.async_api import async_playwright
from config import config
from integrations import claude_usage, codex, homeassistant, nas, weather
from integrations import claude_usage, codex, homeassistant, kobo, nas, weather
TEMPLATES = Path(__file__).parent / "templates"
@@ -75,6 +75,7 @@ async def build_context() -> dict:
"ha_states": ha,
"nas": nas_status,
"codex": codex_status,
"kobo": kobo.current(),
"updated": now.strftime("%H:%M"),
"stale": False,
}