Class: Tinkerforge::BrickletRemoteSwitchV2

Inherits:
Object
  • Object
show all
Defined in:
lib/tinderfridge/devices/bricklet_remote_switch_v2/bricklet_remote_switch_v2.rb

Instance Method Summary collapse

Instance Method Details

#stateObject

Returns the device’s state.



6
7
8
9
10
11
# File 'lib/tinderfridge/devices/bricklet_remote_switch_v2/bricklet_remote_switch_v2.rb', line 6

def state
  super.merge(
    'remote_configuration' => get_remote_configuration,
    'repeats'              => get_repeats,
  )
end