Class: OpenHAB::Core::Things::Provider

Inherits:
Provider
  • Object
show all
Defined in:
lib/openhab/core/things/provider.rb

Overview

Provides Things created in Ruby to openHAB

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Provider

#[], #all, current, #inspect

Methods included from Enumerable

#all_groups, #all_members, #command, #command!, #decrease, #down, #equipments, #fast_forward, #groups, #increase, #locations, #member_of, #members, #move, #next, #not_member_of, #not_tagged, #off, #on, #pause, #play, #points, #previous, #refresh, #rewind, #stop, #tagged, #toggle, #up, #update, #update!

Constructor Details

#initializeProvider

Returns a new instance of Provider.



23
24
25
# File 'lib/openhab/core/things/provider.rb', line 23

def initialize
  super(unload_priority: 60)
end

Class Method Details

.registryorg.openhab.core.thing.ThingRegistry

The Thing registry

Returns:

  • (org.openhab.core.thing.ThingRegistry)


18
19
20
# File 'lib/openhab/core/things/provider.rb', line 18

def registry
  $things
end