Pebble App Framework: Phone API
    Preparing search index...

    Function weatherLabel

    • The sky in words for a weather result, as the phone sends it in WEATHER_CONDITION_LABEL.

      A result that carries its own words sends those, since a token can be coarser than its source. The plugin weather maps rain and snow to FZRN, which would otherwise read "Freezing Rain". A result without them sends the words for its token.

      Parameters

      • result: Pick<WeatherResult, "condition" | "conditionLabel">

        The weather result, read for its own words and its condition token.

      Returns string

      The words to send.