Module: Ansible::KNX::Scene
- Defined in:
- lib/ansible/knx/knx_scene.rb
Overview
KNX Scene control module
Instance Method Summary collapse
Instance Method Details
#recall(scene_id) ⇒ Object
38 39 40 41 42 |
# File 'lib/ansible/knx/knx_scene.rb', line 38 def recall(scene_id) if val = @scene_values[scene_id] then set(scene_id) end end |
#store(scene_id) ⇒ Object
34 35 36 |
# File 'lib/ansible/knx/knx_scene.rb', line 34 def store(scene_id) @scene_values[scene_id] = @current_value end |