Add module RATP Weather

This commit is contained in:
nemunaire 2022-08-14 15:19:51 +02:00
commit 084dce621c
9 changed files with 93 additions and 0 deletions

View file

@ -73,6 +73,11 @@ def main():
mod = WeatherAlertsModule().draw_module(config, 480, 200)
image.paste(mod, (0, 580-mod.height-5), mod)
# RATP weather
from modules.ratp import RATPWeatherModule
ratp = RATPWeatherModule().draw_module(config, int(480/1.6), 94)
image.paste(ratp, (480-int(480/1.6), 205))
# températures
from modules.weather import WeatherTemperatureModule
image.paste(WeatherTemperatureModule().draw_module(config, 480, 200), (0, 580))