Method: OpenHAB::Core::Actions::Voice.say
- Defined in:
-
lib/openhab/core/actions/voice.rb,
lib/openhab/rspec/openhab/core/actions.rb
This method returns an undefined value.
Say text via openHAB Text-To-Speech service, Voice.say()
28 29 30 31 |
# File 'lib/openhab/core/actions/voice.rb', line 28 def say(text, voice: nil, sink: nil, volume: nil) volume = PercentType.new(volume) unless volume.is_a?(PercentType) || volume.nil? raw_say(text.to_s, voice&.to_s, sink&.to_s, volume) end |