weather
Platypush documentation
weather
- class platypush.message.event.weather.NewPrecipitationForecastEvent(*args, plugin_name: Optional[str] = None, average: float, total: float, time_frame: int, **kwargs)[source]
Bases:
Event
Event triggered when the precipitation forecast changes
- __init__(*args, plugin_name: Optional[str] = None, average: float, total: float, time_frame: int, **kwargs)[source]
- Params:
target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict] logging_level – Logging level that should be applied to these
events (default: INFO).
- class platypush.message.event.weather.NewWeatherConditionEvent(*args, plugin_name: Optional[str] = None, **kwargs)[source]
Bases:
Event
Event triggered when the weather condition changes
- __init__(*args, plugin_name: Optional[str] = None, **kwargs)[source]
- Params:
target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict] logging_level – Logging level that should be applied to these
events (default: INFO).