weather

class platypush.message.event.weather.NewPrecipitationForecastEvent(*args, plugin_name: Optional[str] = None, average: float, total: float, time_frame: int, **kwargs)[source]

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]

class platypush.message.event.weather.NewWeatherConditionEvent(*args, plugin_name: Optional[str] = None, **kwargs)[source]

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]