Class: OpenHAB::DSL::Sitemaps::SetpointBuilder
- Inherits:
-
WidgetBuilder
- Object
- WidgetBuilder
- OpenHAB::DSL::Sitemaps::SetpointBuilder
- Defined in:
- lib/openhab/dsl/sitemaps/builder.rb
Overview
Builds a ‘Setpoint` element
Direct Known Subclasses
Instance Attribute Summary collapse
-
#range ⇒ Range?
Allowed range of the value.
-
#step ⇒ Numeric?
How far the value will change with each button press.
Attributes inherited from WidgetBuilder
#icon, #icon_colors, #item, #label, #label_colors, #static_icon, #value_colors, #visibilities
Method Summary
Methods inherited from WidgetBuilder
#icon_color, #label_color, #value_color, #visibility
Methods included from Core::EntityLookup
#items, #method_missing, #things
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class OpenHAB::Core::EntityLookup
Instance Attribute Details
#range ⇒ Range?
Allowed range of the value
402 403 404 |
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 402 def range @range end |
#step ⇒ Numeric?
How far the value will change with each button press
405 406 407 |
# File 'lib/openhab/dsl/sitemaps/builder.rb', line 405 def step @step end |