WeatherTrait

class WeatherTrait


This trait provides an interface for the weather conditions for a given Structure. The weather information provided is based on the structure's address. If the structure's address has not been set, then creation of an automation using this trait will fail validation.

Summary

Nested types

Attributes for the Weather Trait.

The current weather conditions.

The daily forecasted weather conditions.

The hourly forecasted weather conditions.

The type of precipitation that has a chance of occurring.

The source of the weather data's origin.

Public constructors

Public constructors

WeatherTrait

WeatherTrait()