Module: OpenHAB::Core::Things::ProfileCallback
- Defined in:
- lib/openhab/core/things/profile_callback.rb
Overview
Contains methods for profile's callback to forward commands between items and channels.
Instance Method Summary collapse
-
#handle_command(command) ⇒ void
Forward the given command to the respective thing handler.
-
#send_command(command) ⇒ void
Send a command to the framework.
-
#send_update(state) ⇒ void
Send a state update to the framework.
Instance Method Details
#handle_command(command) ⇒ void
This method returns an undefined value.
Forward the given command to the respective thing handler.
34 |
# File 'lib/openhab/core/things/profile_callback.rb', line 34 def_state_parsing_method(:handle_command, :command) |
#send_command(command) ⇒ void
This method returns an undefined value.
Send a command to the framework.
41 |
# File 'lib/openhab/core/things/profile_callback.rb', line 41 def_state_parsing_method(:send_command, :command) |
#send_update(state) ⇒ void
This method returns an undefined value.
Send a state update to the framework.
48 |
# File 'lib/openhab/core/things/profile_callback.rb', line 48 def_state_parsing_method(:send_update, :state) |