Class: WeatherTrigger
- Inherits:
-
Trigger
- Object
- MacroObject
- Trigger
- WeatherTrigger
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: Location
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ WeatherTrigger
constructor
A new instance of WeatherTrigger.
Methods inherited from Trigger
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ WeatherTrigger
1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 |
# File 'lib/ruby-macrodroid.rb', line 1859 def initialize(h={}) = { humidity_above: true, humidity_value: 50, option: 4, temp_below: true, temp_celcius: true, temperature: 0, weather_condition: 0, wind_speed_above: true, wind_speed_value: 0, wind_speed_value_mph: 0 } super(.merge h) end |