Class: SensorsTrigger

Inherits:
Trigger show all
Defined in:
lib/ruby-macrodroid.rb

Instance Attribute Summary

Attributes inherited from Trigger

#constraints

Attributes inherited from MacroObject

#options, #siguid, #type

Instance Method Summary collapse

Methods inherited from Trigger

#match?

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ SensorsTrigger

Returns a new instance of SensorsTrigger.



2222
2223
2224
2225
# File 'lib/ruby-macrodroid.rb', line 2222

def initialize(h={})
  super(h)
  @group = 'sensors'
end