getThermostatTrait method

ThermostatTrait? getThermostatTrait()

Implementation

ThermostatTrait? getThermostatTrait() {
  return trait<ThermostatTrait>() as ThermostatTrait?;
}