Class: OpenHAB::Core::Things::Provider
- Inherits:
-
Provider
- Object
- org.openhab.core.common.registry.AbstractProvider
- Provider
- OpenHAB::Core::Things::Provider
- Defined in:
- lib/openhab/core/things/provider.rb
Overview
Provides Things created in Ruby to openHAB
Class Method Summary collapse
-
.registry ⇒ org.openhab.core.thing.ThingRegistry
The Thing registry.
Instance Method Summary collapse
-
#initialize ⇒ Provider
constructor
A new instance of Provider.
Methods inherited from Provider
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
#initialize ⇒ Provider
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
.registry ⇒ org.openhab.core.thing.ThingRegistry
The Thing registry
18 19 20 |
# File 'lib/openhab/core/things/provider.rb', line 18 def registry $things end |