# File lib/commands/sound_sensor.rb, line 45
  def logic
    case @comparison
      when ">"
        sound_level >= @trigger_point ? true : false
      when "<"
        sound_level <= @trigger_point ? true : false
    end
  end