WeatherTrait.Attributes

interface WeatherTrait.Attributes


Attributes for the Weather Trait.

Summary

Public properties

WeatherTrait.CurrentConditions?

The current weather conditions.

List<WeatherTrait.DailyForecastConditions>

10 days of daily forecasted weather conditions.

List<WeatherTrait.HourlyForecastConditions>

12 hours of hourly forecasted weather conditions.

Long?

Epoch time in seconds of last update for any of the weather data.

Boolean?

True if the user's home does not have address information in the system.

WeatherTrait.WeatherProvider?

The source of the weather data.

Public properties

currentConditions

val currentConditionsWeatherTrait.CurrentConditions?

The current weather conditions.

dailyForecastConditionsList

val dailyForecastConditionsListList<WeatherTrait.DailyForecastConditions>

10 days of daily forecasted weather conditions. Index 0 is the forecast for the current day. For example, if it's currently Tuesday at 16:32, index 0 is the forecast for Tuesday.

hourlyForecastConditionsList

val hourlyForecastConditionsListList<WeatherTrait.HourlyForecastConditions>

12 hours of hourly forecasted weather conditions. Index 0 is the forecast for the current hour. For example, if it's currently 16:32, index 0 is the forecast for 16:00-17:00.

lastUpdateTimeEpochSeconds

val lastUpdateTimeEpochSecondsLong?

Epoch time in seconds of last update for any of the weather data.

missingStructureLocation

val missingStructureLocationBoolean?

True if the user's home does not have address information in the system.

weatherProvider

val weatherProviderWeatherTrait.WeatherProvider?

The source of the weather data. This is used for displaying attribution in the UI.