mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-11-25 06:46:25 +00:00
14 lines
365 B
Python
14 lines
365 B
Python
|
|
"""Weather forecast module for weather predictions."""
|
||
|
|
|
||
|
|
from typing import Optional
|
||
|
|
|
||
|
|
from pydantic import Field
|
||
|
|
|
||
|
|
from akkudoktoreos.config.configabc import SettingsBaseModel
|
||
|
|
|
||
|
|
|
||
|
|
class WeatherCommonSettings(SettingsBaseModel):
|
||
|
|
weather_provider: Optional[str] = Field(
|
||
|
|
default="ClearOutside", description="Weather provider id of provider to be used."
|
||
|
|
)
|