platypush.message.event.weather

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

Event triggered when the precipitation forecast changes

__init__(*args, 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, **kwargs)[source]

Event triggered when the weather condition changes

__init__(*args, **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]