weather

class platypush.backend.weather.WeatherBackend(plugin_name: str, poll_seconds: int, **kwargs)[source]

Abstract class for weather update backends.

__init__(plugin_name: str, poll_seconds: int, **kwargs)[source]
Parameters
  • plugin_name – Name of the weather plugin to be used.

  • poll_seconds – How often the backend should check for updates, in seconds.

run()[source]

Starts the backend thread. To be implemented in the derived classes if the loop method isn’t defined.